The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test(agent): cover the TUI resume half of todo_list pairing
kshitijk4poor197b37e1bfa7
diff --git a/tests/agent/test_run_agent.py b/tests/agent/test_run_agent.pyindex 5e47fbb0451..e5898ececd4 100644--- a/tests/agent/test_run_agent.py+++ b/tests/agent/test_run_agent.py@@ -753,6 +753,10 @@ class TestHydrateTodoStore:agent._hydrate_todo_store(history)assert agent._todo_store.snapshot() == {"todos": todos, "revision": 3}+ # The TUI resume path (no AIAgent yet) must pair the same call via the same predicate.+ from tui_gateway import server++ assert server._todo_state_from_history(history)["todos"] == todosdef test_no_todo_in_history(self, agent):history = [