MCPcopy Index your code
hub / github.com/APIParkLab/APIPark / SetDefaultModel

Method SetDefaultModel

ai-provider/model-runtime/provider.go:383–385  ·  view source on GitHub ↗
(modelType string, model IModel)

Source from the content-addressed store, hash-verified

381}
382
383func (p *Provider) SetDefaultModel(modelType string, model IModel) {
384 p.registry.addModel(model, true)
385}
386
387func (p *Provider) SetModel(id string, model IModel) {
388 p.registry.addModel(model, false)

Callers 2

NewCustomizeProviderFunction · 0.95
NewProviderFunction · 0.95

Calls 1

addModelMethod · 0.80

Tested by

no test coverage detected