pub fn sanitize_pseudo_tool_markup(text: &str) -> String
Escape pseudo XML tool tags that some upstream models emit as plain text.