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

Function WithExitAfterFirstResponse

pkg/app/app.go:79–83  ·  view source on GitHub ↗

WithExitAfterFirstResponse configures the app to exit after the first assistant response.

()

Source from the content-addressed store, hash-verified

77
78// WithExitAfterFirstResponse configures the app to exit after the first assistant response.
79func WithExitAfterFirstResponse() Opt {
80 return func(a *App) {
81 a.exitAfterFirstResponse = true
82 }
83}
84
85// WithQueuedMessages sets messages to be queued after the first message is sent.
86// These messages will be delivered to the TUI as SendMsg events, which the

Callers 1

buildAppOptsMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected