{"version":"2.1.287","anchor":"compaction-failure-messages-are-now-variables","canonical_anchor":"compaction-failure-messages-are-now-variables","heading":"Compaction failure messages are produced a different way","tier":"internal","area":"Compaction","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.287\/e\/compaction-failure-messages-are-now-variables","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.287","markdown":"### Compaction failure messages are produced a different way\n\nThe two messages shown when compaction fails are now assembled from stored text instead of written in place\n\n**Unclear.** The new wording of the two messages is not known.\n\n**What**\n\nCompaction is when Claude Code shortens a long conversation so it fits within the model's limit. There are two failure messages for it: one for when the conversation could not be reduced below the limit, and one for when attached media is too large. These messages are now built from stored text rather than written directly where the error is raised. They previously read \"Compaction failed \u00b7 conversation could not be reduced below the context limit\" and \"Compaction failed \u00b7 attached media exceeds size limits\".\n\n**Why**\n\nThe wording you see when compaction fails could differ from before.\n\n- Area: Compaction\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 0\/5"}