MCPcopy Create free account
hub / github.com/aiprodcoder/MIXAPI / GetModelLimits

Method GetModelLimits

model/token.go:250–255  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

248}
249
250func (token *Token) GetModelLimits() []string {
251 if token.ModelLimits == "" {
252 return []string{}
253 }
254 return strings.Split(token.ModelLimits, ",")
255}
256
257func (token *Token) GetModelLimitsMap() map[string]bool {
258 limits := token.GetModelLimits()

Callers 1

GetModelLimitsMapMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected