Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
Indexed
MCP
copy
Index your code
hub
/
github.com/APIParkLab/APIPark
/ SetModel
Method
SetModel
ai-provider/model-runtime/provider.go:387–389 ·
view source on GitHub ↗
(id string, model IModel)
Source
from the content-addressed store, hash-verified
385
}
386
387
func
(p *Provider) SetModel(id string, model IModel) {
388
p.registry.addModel(model, false)
389
}
390
391
func
(p *Provider) RemoveModel(id string) {
392
p.registry.removeModel(id)
Callers
2
NewCustomizeProvider
Function · 0.95
NewProvider
Function · 0.95
Calls
1
addModel
Method · 0.80
Tested by
no test coverage detected