(modelName string)
| 20 | ) |
| 21 | |
| 22 | func 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 | |
| 31 | func IsImageGenerationModel(modelName string) bool { |
| 32 | modelName = strings.ToLower(modelName) |
no test coverage detected