pub fn extract_json_from_output(output: &str) -> Option<Value>Expand description
Extract JSON from agent output text.
Tries multiple strategies:
- Look for ```json code blocks
- Look for bare ``` code blocks that contain JSON
- Try parsing the entire output as JSON
- Find JSON object/array patterns in the text