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

Method evaluate_condition

src/harness/agent.py:180–182  ·  view source on GitHub ↗

Evaluate a condition string against context values.

(condition: str, context: Dict[str, Any])

Source from the content-addressed store, hash-verified

178
179 @staticmethod
180 def evaluate_condition(condition: str, context: Dict[str, Any]) -> bool:
181 """Evaluate a condition string against context values."""
182 return _evaluate_condition(condition, context)
183
184 def __getattr__(self, name: str) -> Any:
185 """Delegate step execution methods to agent_interpreter."""

Calls

no outgoing calls