MCPcopy Index your code
hub / github.com/docker/docker-agent / TitleModel

Method TitleModel

pkg/agent/agent.go:310–312  ·  view source on GitHub ↗

TitleModel returns the dedicated model configured for session-title generation, or nil when none was configured (in which case title generation reuses the agent's own model).

()

Source from the content-addressed store, hash-verified

308// generation, or nil when none was configured (in which case title
309// generation reuses the agent's own model).
310func (a *Agent) TitleModel() provider.Provider {
311 return a.titleModel
312}
313
314// TitleModels returns the ordered list of providers to use for session-title
315// generation. The dedicated title model (when configured) comes first,

Callers 1

TestTitleModelResolutionFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestTitleModelResolutionFunction · 0.64