The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test: read the batch probe log BOM-tolerantly
teknium195db0e2ada43
diff --git a/tests/agent/test_local_tool_batches.py b/tests/agent/test_local_tool_batches.pyindex ce9d8d40a0b..6d11c5fde79 100644--- a/tests/agent/test_local_tool_batches.py+++ b/tests/agent/test_local_tool_batches.py@@ -103,7 +103,7 @@ def test_local_batch_runs_once_per_entry_through_agent_and_persists_pairs(mcp_seif mode != "interrupt":assert result["final_response"] == "done"expected = {"allow": ["read_alpha", "read_beta"], "scope": []}.get(mode, ["read_alpha"])- executed = [json.loads(line) for line in call_log.read_text(encoding="utf-8").splitlines()] if call_log.exists() else []+ executed = [json.loads(line) for line in call_log.read_text(encoding="utf-8-sig").splitlines()] if call_log.exists() else []assert executed == expectedassert hooks == ([] if mode == "scope" else names[:1] if mode in {"schema", "interrupt"} else names)messages = result["messages"]