MCPcopy Create free account
hub / github.com/InferCore/InferCore / modelID

Method modelID

internal/adapters/gemini/gemini.go:91–95  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

89}
90
91func (a *Adapter) modelID() string {
92 m := strings.TrimSpace(a.cfg.DefaultModel)
93 m = strings.TrimPrefix(m, "models/")
94 return strings.TrimSpace(m)
95}
96
97func (a *Adapter) apiKey() string {
98 return strings.TrimSpace(a.cfg.APIKey)

Callers 1

InvokeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected