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

Function WithTitleGenerator

pkg/app/app.go:96–100  ·  view source on GitHub ↗

WithTitleGenerator sets the title generator for local title generation. If not set, title generation will be handled by the runtime (for remote) or skipped.

(gen *sessiontitle.Generator)

Source from the content-addressed store, hash-verified

94// WithTitleGenerator sets the title generator for local title generation.
95// If not set, title generation will be handled by the runtime (for remote) or skipped.
96func WithTitleGenerator(gen *sessiontitle.Generator) Opt {
97 return func(a *App) {
98 a.titleGen = gen
99 }
100}
101
102// WithReadOnly marks the session as read-only: the conversation history
103// is displayed but no new messages can be sent to the LLM.

Callers 4

runTUIWrappedFunction · 0.92
runLeanTUIMethod · 0.92
createSessionSpawnerMethod · 0.92
newTUIFunction · 0.92

Calls

no outgoing calls

Tested by 1

newTUIFunction · 0.74