fix(session): keep compaction continuations out of later turns

This commit is contained in:
chengyongru authored and chengyongru committed 2026-09-17 22:18:38 +08:00
1 parent 28d9721bfd
commit 5f378c9aff
10 files changed
+84 -55

No files matched your search

-1
View File
@@ -250,7 +250,6 @@ async def test_runner_summarizes_history_and_preserves_current_input(monkeypatch
)
assert requests[0][0] == [
{"role": "system", "content": "fresh checkpoint"},
{"role": "user", "content": SUMMARY_CONTINUATION_TEXT},
{"role": "user", "content": "continue the current task"},
]
assert requests[0][1].conversation_state is None