{"version":"2.1.328","anchor":"auto-compact-window-resolution-reordered","canonical_anchor":"auto-compact-window-resolution-reordered","heading":"Auto-compact uses the smaller of the model's window and the supplied default","tier":"notice","area":"Compaction","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.328\/e\/auto-compact-window-resolution-reordered","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.328","markdown":"### Auto-compact uses the smaller of the model's window and the supplied default\n\nThe context size that triggers auto-compact is now the smaller of the model's own value and the default Claude Code is supplied\n\n**What**\n\nAuto-compact is when Claude Code shortens a long conversation by summarising older parts so it fits in the model's memory. The size at which this happens is called the auto-compact window. When the window comes from the model's default, Claude Code now takes the smaller of the model's value and the default window it is supplied. Before, the supplied default was only used as a fallback after the model's value.\n\n**Why**\n\nThis can change when compaction happens in a long session.\n\n- Area: Compaction\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: yes"}