Skip to main content

transform_prompt

Function transform_prompt 

Source
fn transform_prompt(prompt: Value) -> Value
Expand description

A queued prompt’s block list with each nested attachment stripped.

Only a list is walked. A prompt that reached the transcript as a string carries no block and no payload; anything else is left as the CLI wrote it.