Parse step (with conversation history)
(self, step_data: Dict[str, Any])
| 172 | raise ValueError(f"Unknown step type: {step_type}") |
| 173 | |
| 174 | def _parse_basic_step(self, step_data: Dict[str, Any]) -> Dict[str, Any]: |
| 175 | """Parse step (with conversation history)""" |
| 176 | return { |
| 177 | "type": "step", |
| 178 | "name": step_data.get("name", "unnamed_step"), |
| 179 | "instruction": self._expand_template(step_data.get("instruction", "")), |
| 180 | "output_file": step_data.get("output_file"), |
| 181 | } |
| 182 | |
| 183 | def _parse_task_step(self, step_data: Dict[str, Any]) -> Dict[str, Any]: |
| 184 | """Parse task (stateless)""" |