pub fn strip_mention(prompt: &str) -> StringExpand description
Strip the first @mention from a prompt, returning the cleaned text.
If the mention is at the start of the prompt, leading whitespace after it
is also trimmed. If the mention is mid-prompt, only the @slug token is
removed and surrounding whitespace is collapsed.