Skip to main content

prepare_attachments

Function prepare_attachments 

Source
pub(super) async fn prepare_attachments(
    deps: &AgentTurnDeps,
    ctrl: &Arc<dyn Controller>,
    block: &Block,
    block_id: &str,
    message: String,
    attachments: Vec<AttachmentRef>,
) -> Result<(String, Vec<Value>, Vec<String>), String>
Expand description

The attachments of a message: a numbered list appended to the text, and the inline images for a persistent Claude.