MCPcopy Create free account
hub / github.com/ScaleML/AgentSPEX / _parse_basic_step

Method _parse_basic_step

src/harness/parsing/yaml_parser.py:174–181  ·  view source on GitHub ↗

Parse step (with conversation history)

(self, step_data: Dict[str, Any])

Source from the content-addressed store, hash-verified

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)"""

Callers 2

_parse_stepMethod · 0.95
test_parse_basic_stepMethod · 0.45

Calls 2

_expand_templateMethod · 0.95
getMethod · 0.80

Tested by 1

test_parse_basic_stepMethod · 0.36