pub fn sanitize_ambient_text(raw: &str) -> StringExpand description
Removes, repeatedly, then trims: a code fence wrapping the whole text (optionally with a language tag), one matching pair of quotes wrapping it, and a conversational opener (“Yeah, let’s…”). A reply left with nothing but backticks (an empty fence) becomes “”, which callers already treat as no reply.
Run on the whole reply by the CLI, and again on the text after ANSWER: by
reply::parse, which the first pass can’t reach past the prefix.