MCPcopy Create free account
hub / github.com/aiprodcoder/MIXAPI / IsOpenAIResponseOnlyModel

Function IsOpenAIResponseOnlyModel

common/model.go:22–29  ·  view source on GitHub ↗
(modelName string)

Source from the content-addressed store, hash-verified

20)
21
22func IsOpenAIResponseOnlyModel(modelName string) bool {
23 for _, m := range OpenAIResponseOnlyModels {
24 if strings.Contains(modelName, m) {
25 return true
26 }
27 }
28 return false
29}
30
31func IsImageGenerationModel(modelName string) bool {
32 modelName = strings.ToLower(modelName)

Callers 1

Calls 1

ContainsMethod · 0.80

Tested by

no test coverage detected