Keep only user+compaction items in compacted history

This commit is contained in:
Charles Cunningham
2026-02-17 19:35:22 -08:00
parent 6663b690b7
commit b781a15a42
3 changed files with 6 additions and 6 deletions

View File

@@ -2961,11 +2961,6 @@ async fn auto_compact_counts_encrypted_reasoning_before_last_user() {
"second turn should not include compacted history"
);
let third_request_body = requests[2].body_json().to_string();
assert!(
third_request_body.contains("REMOTE_COMPACT_SUMMARY")
|| third_request_body.contains(FINAL_REPLY),
"third turn should include compacted history"
);
assert!(
third_request_body.contains("ENCRYPTED_COMPACTION_SUMMARY"),
"third turn should include compaction summary item"