Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/APIParkLab/APIPark
/ GetModel
Method
GetModel
ai-provider/model-runtime/provider.go:346–348 ·
view source on GitHub ↗
(name string)
Source
from the content-addressed store, hash-verified
344
}
345
346
func
(p *Provider) GetModel(name string) (IModel, bool) {
347
return
p.registry.models.Get(name)
348
}
349
350
func
(p *Provider) Models() []IModel {
351
return
p.registry.models.List()
Callers
nothing calls this directly
Calls
1
Get
Method · 0.65
Tested by
no test coverage detected