Skip to main content

parse_plan

Function parse_plan 

Source
pub fn parse_plan(text: &str) -> Result<Vec<Subtask>, String>
Expand description

Parse a model response into footprint-annotated subtasks. Tolerant of markdown fences / preamble: tries a direct parse, then the first {...} block.