pub fn extract_assistant_content(root: &Value) -> Option<String>Expand description
Extract the assistant’s text content from an OpenAI-compatible response.
Handles various response formats:
- Standard
choices[0].message.contentstring - Array of content blocks with
textorcontentfields output_textfield (some providers)