Your lightweight open-source personal agent.
Python agent-frameworkai-agentai-agentschatbotchatopsdiscord-botllm-agentsllmslocal-llmmcpmodel-context-protocolmulti-agentopenai-compatibleopenclawpersonal-ai-assistantpythonself-hostedtelegram-bot-ai-assistantwebuiworkflow-automation
fix(ci): update live file edit test expectations
Xubin Ren40c1d83b320d
diff --git a/tests/agent/test_loop_progress.py b/tests/agent/test_loop_progress.pyindex cace4e46c..974377472 100644--- a/tests/agent/test_loop_progress.py+++ b/tests/agent/test_loop_progress.py@@ -133,6 +133,7 @@ class TestToolEventProgress:"call_id": "call-write","tool": "write_file","path": "foo.txt",+ "absolute_path": (tmp_path / "foo.txt").resolve().as_posix(),"phase": "start","added": 2,"deleted": 1,diff --git a/tests/providers/test_openai_codex_provider.py b/tests/providers/test_openai_codex_provider.pyindex ef9a91a79..e31b8547f 100644--- a/tests/providers/test_openai_codex_provider.py+++ b/tests/providers/test_openai_codex_provider.py@@ -16,7 +16,15 @@ async def test_codex_prompt_cache_key_uses_stable_conversation_prefix(monkeypatclambda: SimpleNamespace(account_id="acct", access="token"),)- async def fake_request(url, headers, body, verify, on_content_delta=None):+ async def fake_request(+ url,+ headers,+ body,+ verify,+ on_content_delta=None,+ on_tool_call_delta=None,+ ):+ _ = on_tool_call_deltabodies.append(body)return "ok", [], "stop"diff --git a/tests/utils/test_file_edit_events.py b/tests/utils/test_file_edit_events.pyindex 9180032cf..cdaae5167 100644--- a/tests/utils/test_file_edit_events.py+++ b/tests/utils/test_file_edit_events.py@@ -46,7 +46,7 @@ def test_write_file_start_predicts_and_end_calibrates_exact_diff(tmp_path: Path)"call_id": "call-write","tool": "write_file","path": "notes.txt",- "absolute_path": (tmp_path / "notes.txt").as_posix(),+ "absolute_path": (tmp_path / "notes.txt").resolve().as_posix(),"phase": "start","added": 2,"deleted": 1,@@ -126,7 +126,7 @@ def test_streaming_write_file_tracker_emits_live_line_counts(tmp_path: Path) ->"call_id": "call-live","tool": "write_file","path": "notes.md",- "absolute_path": (tmp_path / "notes.md").as_posix(),+ "absolute_path": (tmp_path / "notes.md").resolve().as_posix(),"phase": "start","added": 0,"deleted": 0,@@ -270,7 +270,7 @@ def test_streaming_edit_file_tracker_emits_live_line_counts(tmp_path: Path) -> N"call_id": "call-edit","tool": "edit_file","path": "notes.md",- "absolute_path": (tmp_path / "notes.md").as_posix(),+ "absolute_path": (tmp_path / "notes.md").resolve().as_posix(),"phase": "start","added": 0,"deleted": 2,