WithFirstMessageAttachment sets the attachment path for the first message.
(path string)
| 70 | |
| 71 | // WithFirstMessageAttachment sets the attachment path for the first message. |
| 72 | func 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. |
| 79 | func WithExitAfterFirstResponse() Opt { |