MCPcopy Create free account
hub / github.com/astercloud/aster / isReasoningModel

Function isReasoningModel

pkg/provider/openai.go:90–93  ·  view source on GitHub ↗

isReasoningModel 检查是否是推理模型

(model string)

Source from the content-addressed store, hash-verified

88
89// isReasoningModel 检查是否是推理模型
90func isReasoningModel(model string) bool {
91 reasoningModels := []string{"o1", "o3", "o1-mini", "o3-mini", "o1-preview"}
92 return slices.Contains(reasoningModels, model)
93}
94
95// OpenAIFactory OpenAI 工厂
96type OpenAIFactory struct{}

Callers 2

CapabilitiesMethod · 0.85

Calls

no outgoing calls

Tested by 1