MCPcopy Index your code
hub / github.com/SMNETSTUDIO/You2API / mapModelName

Function mapModelName

api/main.go:93–98  ·  view source on GitHub ↗
(openAIModel string)

Source from the content-addressed store, hash-verified

91}
92
93func mapModelName(openAIModel string) string {
94 if mappedModel, exists := modelMap[openAIModel]; exists {
95 return mappedModel
96 }
97 return "deepseek_v3"
98}
99
100func reverseMapModelName(youModel string) string {
101 reverseMap := getReverseModelMap()

Callers 3

HandlerFunction · 0.85
handleStreamingResponseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected