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

Function GetGroupEnabledModels

model/ability.go:40–45  ·  view source on GitHub ↗
(group string)

Source from the content-addressed store, hash-verified

38}
39
40func GetGroupEnabledModels(group string) []string {
41 var models []string
42 // Find distinct models
43 DB.Table("abilities").Where(commonGroupCol+" = ? and enabled = ?", group, true).Distinct("model").Pluck("model", &models)
44 return models
45}
46
47func GetEnabledModels() []string {
48 var models []string

Callers 2

ListModelsFunction · 0.92
GetUserModelsFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected