Prompt is too long /compact Error: Error during compaction: Error: Conversation too long. Press esc twice to go up a few messages and try again.
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
i can't compact conversation, also can't exit conversation and go back to it, it still don't allow me to compact
What Should Happen?
compact the conversation
Error Messages/Logs
Prompt is too long
/compact
Error: Error during compaction: Error: Conversation too long. Press esc twice to go up a few messages and try again.
Steps to Reproduce
reach full context , and then it won't compact , auto compact won't trigger
Claude Model
Opus
Is this a regression?
Yes, this worked in a previous version
Last Working Version
don't know
Claude Code Version
2.0.72 (Claude Code)
Platform
Anthropic API
Operating System
Ubuntu/Debian Linux
Terminal/Shell
VS Code integrated terminal
Additional Information
No response
I believe claude.ai is also broken from this.
Closing for now — inactive for too long. Please open a new issue if this is still relevant.
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.