MCPcopy Create free account
hub / github.com/APIParkLab/APIPark / FromModelType

Function FromModelType

module/ai-api/dto/output.go:29–38  ·  view source on GitHub ↗
(m int)

Source from the content-addressed store, hash-verified

27}
28
29func FromModelType(m int) ModelType {
30 switch m {
31 case 0:
32 return ModelTypeOnline
33 case 1:
34 return ModelTypeLocal
35 default:
36 return ""
37 }
38}
39
40type API struct {
41 Id string `json:"id"`

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected