Skip to main content

extract_required_response_blocks

Function extract_required_response_blocks 

Source
pub fn extract_required_response_blocks(diff: &str) -> Vec<String>
Expand description

Extract ordered user-authored request blocks from added diff lines.

This is a prompt-building helper, not a semantic proof that every request was answered. It makes the changed exchange tail explicit so the agent is reminded to address the full oldest-first set of prompts instead of only the newest visible question.