Skip to main content

queued_command_text

Function queued_command_text 

Source
pub fn queued_command_text(prompt: &Value) -> String
Expand description

The text a queued_command block carries: a plain string for a typed prompt, or a content-block array for a multi-modal one, where only the text blocks are the words the user typed. An image or document is not text: a view draws it as an attachment row, from the block itself. Every other block renders as a [type] placeholder so the reader sees something rather than a blank.