You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Remote pre-turn compaction during model switch strips incoming <model_switch> from the compact request and restores it in the post-compaction follow-up request.",
1546
+
"Remote pre-turn compaction during model switch currently excludes incoming user input, strips incoming <model_switch> from the compact request payload, and restores it in the post-compaction follow-up request.",
Copy file name to clipboardExpand all lines: codex-rs/core/tests/suite/snapshots/all__suite__compact__pre_turn_compaction_strips_incoming_model_switch_shapes.snap
+10-10Lines changed: 10 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,6 @@
1
1
---
2
2
source: core/tests/suite/compact.rs
3
+
assertion_line: 3152
3
4
expression: "format_labeled_requests_snapshot(\"Pre-turn compaction during model switch (without pre-sampling model-switch compaction): current behavior strips incoming <model_switch> from the compact request and restores it in the post-compaction follow-up request.\",\n&[(\"Initial Request (Previous Model)\", &requests[0]),\n(\"Local Compaction Request\", &requests[1]),\n(\"Local Post-Compaction History Layout\", &requests[2]),])"
4
5
---
5
6
Scenario: Pre-turncompactionduringmodelswitch (withoutpre-samplingmodel-switchcompaction): current behavior strips incoming <model_switch> from the compact request and restores it in the post-compaction follow-up request.
@@ -18,15 +19,14 @@ Scenario: Pre-turn compaction during model switch (without pre-sampling model-sw
18
19
03:message/developer:<PERMISSIONS_INSTRUCTIONS>
19
20
04:message/user:BEFORE_SWITCH_USER
20
21
05:message/assistant:BEFORE_SWITCH_REPLY
21
-
06:message/user:AFTER_SWITCH_USER
22
-
07:message/user:<SUMMARIZATION_PROMPT>
22
+
06:message/user:<SUMMARIZATION_PROMPT>
23
23
24
24
## Local Post-Compaction History Layout
25
-
00:message/user:BEFORE_SWITCH_USER
26
-
01:message/developer:<PERMISSIONS_INSTRUCTIONS>
27
-
02:message/developer:<personality_spec> The user has requested a new communication st...
expression: "format_labeled_requests_snapshot(\"Remote pre-turn compaction during model switch strips incoming <model_switch> from the compact request and restores it in the post-compaction follow-up request.\",\n&[(\"Initial Request (Previous Model)\", &requests[0]),\n(\"Remote Compaction Request\", &compact_request),\n(\"Remote Post-Compaction History Layout\", &requests[1]),])"
3
+
assertion_line: 1543
4
+
expression: "format_labeled_requests_snapshot(\"Remote pre-turn compaction during model switch currently excludes incoming user input, strips incoming <model_switch> from the compact request payload, and restores it in the post-compaction follow-up request.\",\n&[(\"Initial Request (Previous Model)\", &requests[0]),\n(\"Remote Compaction Request\", &compact_request),\n(\"Remote Post-Compaction History Layout\", &requests[1]),])"
4
5
---
5
-
Scenario: Remotepre-turncompactionduringmodelswitchstripsincoming <model_switch> from the compact request and restores it in the post-compaction follow-up request.
6
+
Scenario: Remotepre-turncompactionduringmodelswitchcurrentlyexcludesincominguserinput, stripsincoming <model_switch> from the compact request payload, and restores it in the post-compaction follow-up request.
6
7
7
8
## Initial Request (Previous Model)
8
9
00:message/developer:<PERMISSIONS_INSTRUCTIONS>
@@ -16,14 +17,14 @@ Scenario: Remote pre-turn compaction during model switch strips incoming <model_
16
17
02:message/user:<ENVIRONMENT_CONTEXT:cwd=<CWD>>
17
18
03:message/user:BEFORE_SWITCH_USER
18
19
04:message/assistant:BEFORE_SWITCH_REPLY
19
-
05:message/user:AFTER_SWITCH_USER
20
20
21
21
## Remote Post-Compaction History Layout
22
22
00:message/user:BEFORE_SWITCH_USER
23
-
01:message/developer:<PERMISSIONS_INSTRUCTIONS>
24
-
02:message/developer:<personality_spec> The user has requested a new communication st...
25
-
03:message/user:<AGENTS_MD>
26
-
04:message/user:<ENVIRONMENT_CONTEXT:cwd=<CWD>>
27
-
05:message/user:AFTER_SWITCH_USER
23
+
01:message/user:AFTER_SWITCH_USER
24
+
02:message/developer:<PERMISSIONS_INSTRUCTIONS>
25
+
03:message/developer:<personality_spec> The user has requested a new communication st...
0 commit comments