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

Function WithFirstMessageAttachment

pkg/app/app.go:72–76  ·  view source on GitHub ↗

WithFirstMessageAttachment sets the attachment path for the first message.

(path string)

Source from the content-addressed store, hash-verified

70
71// WithFirstMessageAttachment sets the attachment path for the first message.
72func WithFirstMessageAttachment(path string) Opt {
73 return func(a *App) {
74 a.firstMessageAttach = path
75 }
76}
77
78// WithExitAfterFirstResponse configures the app to exit after the first assistant response.
79func WithExitAfterFirstResponse() Opt {

Callers 1

buildAppOptsMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected