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

Method SetDefaultModel

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

Source from the content-addressed store, hash-verified

24 SetModel(id string, model IModel)
25 RemoveModel(id string)
26 SetDefaultModel(modelType string, model IModel)
27 GetModel(name string) (IModel, bool)
28 Models() []IModel
29 ModelsByType(modelType string) ([]IModel, bool)

Callers 2

OnInitMethod · 0.65
UpdateProviderConfigMethod · 0.65

Implementers 1

Providerai-provider/model-runtime/provider.go

Calls

no outgoing calls

Tested by

no test coverage detected