From a62b81cbbe01cae2f4a42f8285f514236e097438 Mon Sep 17 00:00:00 2001 From: Charles Cunningham Date: Sat, 14 Feb 2026 18:05:09 -0800 Subject: [PATCH] Update pre-sampling model-switch compaction snapshot --- ...ng_model_switch_compaction_shapes.snap.new | 31 ------------------- 1 file changed, 31 deletions(-) delete mode 100644 codex-rs/core/tests/suite/snapshots/all__suite__compact__pre_sampling_model_switch_compaction_shapes.snap.new diff --git a/codex-rs/core/tests/suite/snapshots/all__suite__compact__pre_sampling_model_switch_compaction_shapes.snap.new b/codex-rs/core/tests/suite/snapshots/all__suite__compact__pre_sampling_model_switch_compaction_shapes.snap.new deleted file mode 100644 index 8d6c4d9b1a..0000000000 --- a/codex-rs/core/tests/suite/snapshots/all__suite__compact__pre_sampling_model_switch_compaction_shapes.snap.new +++ /dev/null @@ -1,31 +0,0 @@ ---- -source: core/tests/suite/compact.rs -assertion_line: 1773 -expression: "format_labeled_requests_snapshot(\"Pre-sampling compaction on model switch to a smaller context window: current behavior compacts using prior-turn history only (incoming user message excluded), and the follow-up request carries compacted history plus the new user message.\",\n&[(\"Initial Request (Previous Model)\", &requests[0]),\n(\"Pre-sampling Compaction Request\", &requests[1]),\n(\"Post-Compaction Follow-up Request (Next Model)\", &requests[2]),])" ---- -Scenario: Pre-sampling compaction on model switch to a smaller context window: current behavior compacts using prior-turn history only (incoming user message excluded), and the follow-up request carries compacted history plus the new user message. - -## Initial Request (Previous Model) -00:message/developer: -01:message/user: -02:message/user:> -03:message/developer: -04:message/user:before switch - -## Pre-sampling Compaction Request -00:message/developer: -01:message/user: -02:message/user:> -03:message/developer: -04:message/user:before switch -05:message/assistant:before switch -06:message/user: - -## Post-Compaction Follow-up Request (Next Model) -00:message/developer: -01:message/user: -02:message/user:> -03:message/user:before switch -04:message/user:\nPRE_SAMPLING_SUMMARY -05:message/developer:\nThe user was previously using a different model.... -06:message/user:after switch