pub fn sanitize_response(response: &str) -> String
Sanitize an AI response: strip ANSI codes, preamble, code blocks, formatting.