The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(lint): explicit encoding on write_text in livetest harness (PLW1514)
teknium1a2c42be93c6d
diff --git a/scripts/tool_search_livetest2.py b/scripts/tool_search_livetest2.pyindex d444e545cf1..b81f91f91af 100644--- a/scripts/tool_search_livetest2.py+++ b/scripts/tool_search_livetest2.py@@ -65,7 +65,7 @@ def run_one(scenario: Dict[str, Any], mode: str, rep: int, out_dir: Path) -> Dicn_registered = base.register_fake_tools()Path("/tmp/livetest").mkdir(exist_ok=True)- (Path("/tmp/livetest/notes.txt")).write_text("Hello from the test fixture.\n")+ (Path("/tmp/livetest/notes.txt")).write_text("Hello from the test fixture.\n", encoding="utf-8")from tools.registry import registryoriginal_dispatch = registry.dispatch