MCPcopy
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
201type 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

detectCachingSupportFunction · 0.65
buildDMRChoicesMethod · 0.65
modelSupportsThinkingMethod · 0.65
runStreamLoopMethod · 0.65
resolveContextLimitMethod · 0.65
buildGatewayChoicesMethod · 0.65
GetModelMethod · 0.65
LookupFamilyFunction · 0.65

Implementers 3

Storepkg/modelsdev/store.go
stubModelStorepkg/runtime/gateway_models_test.go
lazyModelStorepkg/runtime/lazy_model_store.go

Calls

no outgoing calls

Tested by 1