(entry config.OpenAICompatibility)
| 85 | } |
| 86 | |
| 87 | func countAPIKeys(entry config.OpenAICompatibility) int { |
| 88 | count := 0 |
| 89 | for _, keyEntry := range entry.APIKeyEntries { |
| 90 | if strings.TrimSpace(keyEntry.APIKey) != "" { |
| 91 | count++ |
| 92 | } |
| 93 | } |
| 94 | return count |
| 95 | } |
| 96 | |
| 97 | func countOpenAIModels(models []config.OpenAICompatibilityModel) int { |
| 98 | count := 0 |
no outgoing calls
no test coverage detected