[BUG] Error: Conversation too long.
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?
⎿ Context limit reached · /compact or /clear to continue
❯ /compact
⎿ Error: Error during compaction: Error: Conversation too long. Press esc twice to go up a few messages an
try again.
EVERY SINGLE TIME I get this Error "Error: Conversation too long.", before it stopped at the right point to compact the session and continue and now I always have to go at least one message back. The problem is many times I have a session only with one message and if I go that one message back it is like deleting 100% of the context. It makes no sense. Please help or fix. Thanks
What Should Happen?
Like it always was before just let me run the /compact command
Error Messages/Logs
⎿ Context limit reached · /compact or /clear to continue
❯ /compact
⎿ Error: Error during compaction: Error: Conversation too long. Press esc twice to go up a few messages an
try again.
Steps to Reproduce
Just let Claude run until context is full. Pretty self-explanatory.
Claude Model
Opus
Is this a regression?
Yes, this worked in a previous version
Last Working Version
Maybe before 2.1.21, I have this issue already for a few days and I work every day hours
Claude Code Version
2.1.32 (Claude Code)
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
WSL (Windows Subsystem for Linux)
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗