()
| 83 | } |
| 84 | |
| 85 | func getReverseModelMap() map[string]string { |
| 86 | reverse := make(map[string]string, len(modelMap)) |
| 87 | for k, v := range modelMap { |
| 88 | reverse[v] = k |
| 89 | } |
| 90 | return reverse |
| 91 | } |
| 92 | |
| 93 | func mapModelName(openAIModel string) string { |
| 94 | if mappedModel, exists := modelMap[openAIModel]; exists { |
no outgoing calls
no test coverage detected