MCPcopy Create free account
hub / github.com/chainreactors/EvilProxy / formatHomeGeminiModels

Function formatHomeGeminiModels

internal/api/server.go:1248–1254  ·  view source on GitHub ↗
(entries []homeModelEntry)

Source from the content-addressed store, hash-verified

1246}
1247
1248func formatHomeGeminiModels(entries []homeModelEntry) []map[string]any {
1249 out := make([]map[string]any, 0, len(entries))
1250 for _, entry := range entries {
1251 out = append(out, formatHomeGeminiModel(entry))
1252 }
1253 return out
1254}
1255
1256func formatHomeGeminiModel(entry homeModelEntry) map[string]any {
1257 name := entry.id

Callers 1

Calls 1

formatHomeGeminiModelFunction · 0.85

Tested by

no test coverage detected