You'll notice
Image-too-large error stops suggesting /compact when compaction is disabled
**What
When an image in your conversation exceeds the size limit for many-image requests (2000px), Claude Code normally tells you to run /compact to remove old images from context. Now it checks whether compaction has been disabled (via the DISABLE_COMPACT environment variable) first, and if so, tells you to start a new session instead of suggesting /compact.
Why
This avoids pointing you to a command that won't work if compaction has been turned off, giving you a suggestion that will actually resolve the problem.