Skip to main content

parse_agent_choice

Function parse_agent_choice 

Source
pub fn parse_agent_choice(answer: &str) -> Option<Agent>
Expand description

The agent an answer names: its number in the list, or its name. An empty answer takes the default, Claude Code. None when it names neither.