Andrew Lara
Initial implementation of ToolOrchestratorEnv
8ca3a35
Raw
History Blame Contribute Delete
385 Bytes
"""Commit tool — passes the answer through; grading happens in environment.py."""
from __future__ import annotations
from env.models import OrchestratorAction, ToolResult
def commit_tool(action: OrchestratorAction) -> ToolResult:
answer = (action.answer or "").strip()
return ToolResult(
tool_id="commit",
output=f"Committed answer: {answer[:200]}",
)