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

Function reverseMapModelName

api/main.go:100–106  ·  view source on GitHub ↗
(youModel string)

Source from the content-addressed store, hash-verified

98}
99
100func reverseMapModelName(youModel string) string {
101 reverseMap := getReverseModelMap()
102 if mappedModel, exists := reverseMap[youModel]; exists {
103 return mappedModel
104 }
105 return "deepseek-chat"
106}
107
108var originalModel string
109

Callers 2

handleStreamingResponseFunction · 0.85

Calls 1

getReverseModelMapFunction · 0.85

Tested by

no test coverage detected