pub fn parse_action(content: &str) -> Result<AgentAction, ActionParseError>Expand description
Parse a raw LLM text response into an AgentAction.
Handles optional markdown code fences (```json / ```) and
leading/trailing whitespace.
pub fn parse_action(content: &str) -> Result<AgentAction, ActionParseError>Parse a raw LLM text response into an AgentAction.
Handles optional markdown code fences (```json / ```) and
leading/trailing whitespace.