Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/docker/docker-agent
/ GetModel
Method
GetModel
pkg/runtime/runtime.go:202–202 ·
view source on GitHub ↗
(ctx context.Context, id modelsdev.ID)
Source
from the content-addressed store, hash-verified
200
201
type
ModelStore
interface
{
202
GetModel(ctx context.Context, id modelsdev.ID) (*modelsdev.Model, error)
203
GetDatabase(ctx context.Context) (*modelsdev.Database, error)
204
}
205
Callers
15
TestLazyModelStore_GatesCustomProvider
Function · 0.95
detectCachingSupport
Function · 0.65
buildDMRChoices
Method · 0.65
stripUnsupportedModalitiesTransform
Method · 0.65
modelSupportsThinking
Method · 0.65
populateCatalogMetadata
Method · 0.65
createProviderFromConfig
Method · 0.65
runStreamLoop
Method · 0.65
resolveContextLimit
Method · 0.65
buildGatewayChoices
Method · 0.65
GetModel
Method · 0.65
LookupFamily
Function · 0.65
Implementers
3
Store
pkg/modelsdev/store.go
stubModelStore
pkg/runtime/gateway_models_test.go
lazyModelStore
pkg/runtime/lazy_model_store.go
Calls
no outgoing calls
Tested by
1
TestLazyModelStore_GatesCustomProvider
Function · 0.76