pub fn strip_think_blocks(content: &str) -> &strExpand description
Strip reasoning/thinking blocks emitted by various models.
Handles <think>, <thinking>, <reasoning> tags (DeepSeek, QwQ, open-source variants).
Returns the content after the last closing tag, or the original string if none found.
Should be called at the LLM layer so all downstream consumers get clean output.