Skip to content

The agent that grows with you

test(compression): trim batch clarify coverage to two invariants

Teknium3026f4a9938c
diff --git a/contributors/emails/[email protected] b/contributors/emails/[email protected]
new file mode 100644
index 00000000000..d277865ea14
--- /dev/null
+++ b/contributors/emails/[email protected]
@@ -0,0 +1,2 @@
+gaoanze888
+# PR #106089 salvage
diff --git a/tests/agent/test_context_compressor.py b/tests/agent/test_context_compressor.py
index 0e83f80b720..8c81452b8f0 100644
--- a/tests/agent/test_context_compressor.py
+++ b/tests/agent/test_context_compressor.py
@@ -266,18 +266,6 @@ class TestSummarizeToolResultClarify:
assert "Choice A" in summary
assert "Choice B" in summary
- def test_batch_with_only_sentinel_falls_back_to_generic(self):
- """A batch where every response is a timeout sentinel must not be quoted as a user answer."""
- content = json.dumps({
- "responses": [
- {"question": "Q?", "user_response": "[user did not respond within 15m]"},
- ]
- })
-
- summary = _summarize_tool_result("clarify", "{}", content)
-
- assert summary == "[clarify] asked user a question"
-
class TestShouldCompress:
def test_below_threshold(self, compressor):