MCPcopy
hub / github.com/docker/docker-agent / modelHandler

Struct modelHandler

pkg/hooks/model_handler.go:185–191  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

183as additional context.`
184
185type modelHandler struct {
186 client ModelClient
187 model string
188 tpl *template.Template
189 schema *latest.StructuredOutput
190 shape ResponseShape
191}
192
193// Run implements [Handler]. It renders the prompt, asks the model, and
194// applies the configured [ResponseShape]. The executor's timeout and

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected