pub fn parse_plan(raw: &str) -> RedDBResult<AskPlan>Expand description
Parse the planner model’s output into a typed plan. Tolerates code fences and surrounding prose by extracting the outermost JSON object.
pub fn parse_plan(raw: &str) -> RedDBResult<AskPlan>Parse the planner model’s output into a typed plan. Tolerates code fences and surrounding prose by extracting the outermost JSON object.