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

Function ModelTypeFromInt

module/ai-balance/dto/output.go:28–37  ·  view source on GitHub ↗
(i int)

Source from the content-addressed store, hash-verified

26}
27
28func ModelTypeFromInt(i int) ModelType {
29 switch i {
30 case 0:
31 return ModelTypeOnline
32 case 1:
33 return ModelTypeLocal
34 default:
35 return "unknown"
36 }
37}
38
39type ModelState string
40

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected