[BUG] Compact failed even having 26% context.
Resolved 💬 4 comments Opened Jul 1, 2025 by liaolunhui Closed Aug 20, 2025
Environment
- Platform (select one):
- [x] Anthropic API
- Claude CLI version: 1.0.38
- Operating System: Windows 11
- Terminal: Claude code IDEA plugin 1.0.9-beta built-in terminal
Bug Description
Compact failed even having 26% context.
Steps to Reproduce
- ask it to do thing
- Claude code said: Context low · Run /compact to compact & continue
- /compact
- Claude code said: Error: Error during compaction: Error: Conversation too long. Press esc to go up a few messages and try again.
Expected Behavior
Do it right
Actual Behavior
Compact failed even having 26% context.
Additional Context
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗