The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test(agent): trim extract_reasoning thinking-block tests to invariants (#106006)
kshitijk4poor4aee05c709ac
diff --git a/tests/agent/test_run_agent.py b/tests/agent/test_run_agent.pyindex e066c42fd48..11bd24392aa 100644--- a/tests/agent/test_run_agent.py+++ b/tests/agent/test_run_agent.py@@ -467,12 +467,6 @@ class TestExtractReasoning:)assert agent._extract_reasoning(msg) == "list-shaped reasoningpart two"- def test_thinking_block_whitespace_only_payload_dropped(self, agent):- msg = _mock_assistant_msg(- content=[{"type": "thinking", "thinking": " "}]- )- assert agent._extract_reasoning(msg) is None-class TestSessionFilenameSafety:def test_safe_session_filename_component_contains_traversal(self):