{"version":"2.1.311","anchor":"reactive-compact-adds-a-credits-boundary-step","canonical_anchor":"reactive-compact-adds-a-credits-boundary-step","heading":"Compaction after a too-long prompt can choose an extra step","tier":"internal","area":"Compaction","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.311\/e\/reactive-compact-adds-a-credits-boundary-step","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.311","markdown":"### Compaction after a too-long prompt can choose an extra step\n\nAfter a prompt-too-long error, Claude Code's compaction can now pick a further step based on a credits boundary\n\n**Unclear.** It is not stated what the credits boundary is or when it applies.\n\n**What**\n\nCompaction shortens the conversation so it fits in what the model can accept. When a request fails because the prompt is too long, Claude Code compacts and tries again, choosing how far to cut from how much too long it was. It can now also choose a step called `credits_tenth`, when a credits boundary applies and the shortfall is larger.\n\n**Why**\n\nThis changes how much of the conversation is kept when Claude Code retries.\n\n- Area: Compaction\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}