Skip to main content

previous_attempt_block

Function previous_attempt_block 

Source
pub fn previous_attempt_block(context: &FailureContext) -> String
Expand description

The “previous attempt failed” block appended to a re-entered agent’s prompt. Delimited on both sides because everything inside it is untrusted process output that must not read as further instructions.