pub fn extract_thinking_content(root: &Value) -> Option<String>Expand description
Extract thinking/reasoning content from an LLM API response.
Handles:
- Anthropic: root-level
contentarray withtype: "thinking"blocks - OpenAI:
choices[0].message.reasoning_contentfield
Returns None if no thinking content is present.