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

Method _parse_basic_step

verifier/AgentVerifier/yaml_parser.py:171–178  ·  view source on GitHub ↗

Parse step (with conversation history)

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

Source from the content-addressed store, hash-verified

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

Callers 1

_parse_stepMethod · 0.95

Calls 2

_expand_templateMethod · 0.95
getMethod · 0.80

Tested by

no test coverage detected