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

Method DefaultModel

ai-provider/model-runtime/provider.go:342–344  ·  view source on GitHub ↗
(modelType string)

Source from the content-addressed store, hash-verified

340}
341
342func (p *Provider) DefaultModel(modelType string) (IModel, bool) {
343 return p.registry.defaultModels.Get(modelType)
344}
345
346func (p *Provider) GetModel(name string) (IModel, bool) {
347 return p.registry.models.Get(name)

Callers

nothing calls this directly

Calls 1

GetMethod · 0.65

Tested by

no test coverage detected