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

Function split_step_value

src/harness/utils/step_utils.py:7–11  ·  view source on GitHub ↗
(step_data: Dict[str, Any], key: str)

Source from the content-addressed store, hash-verified

5
6
7def split_step_value(step_data: Dict[str, Any], key: str) -> tuple[Dict[str, Any], Any]:
8 value = step_data.get(key)
9 if isinstance(value, dict):
10 return value, None
11 return {}, value
12
13
14def get_step_instruction(step_data: Dict[str, Any], context: Dict[str, Any]) -> str:

Callers 1

get_step_instructionFunction · 0.85

Calls 1

getMethod · 0.80

Tested by

no test coverage detected