Skip to main content

Module files

Module files 

Source
Expand description

File processing and the initial message: @file arguments become text blocks and image attachments of the first message; piped stdin is prepended.

Structs§

FileContent
Text and images collected from @file arguments.
InitialMessage
The first prompt of a non-interactive run.

Functions§

build_initial_message
Consumes the first positional message.
process_file_arguments
Processes @file arguments; errors carry fixed text (the caller prints it and exits 1).