Preflight Checklist
What's Wrong?
I lost my few weeks long session due to "Prompt is too long",
When i tired to run /compact I got this:
Error: Error during compaction: Error: Conversation too long. Press esc twice to go up a few messages and try again.
Then I started brand new session, and after literally 10 minutes I got exact same issue again
What Should Happen?
It should compact it by itself, and if it doesn't, /compact should work!
Error Messages/Logs
Steps to Reproduce
Start new session, give task to Claude, after 10 minutes "Prompt is too long" message pops up and compact is not working
Claude Model
Opus
Is this a regression?
Yes, this worked in a previous version
Last Working Version
No response
Claude Code Version
2.0.76 (Claude Code)
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
VS Code integrated terminal
Additional Information
No response
Preflight Checklist
What's Wrong?
I lost my few weeks long session due to "Prompt is too long",
When i tired to run /compact I got this:
Error: Error during compaction: Error: Conversation too long. Press esc twice to go up a few messages and try again.
Then I started brand new session, and after literally 10 minutes I got exact same issue again
What Should Happen?
It should compact it by itself, and if it doesn't, /compact should work!
Error Messages/Logs
Steps to Reproduce
Start new session, give task to Claude, after 10 minutes "Prompt is too long" message pops up and compact is not working
Claude Model
Opus
Is this a regression?
Yes, this worked in a previous version
Last Working Version
No response
Claude Code Version
2.0.76 (Claude Code)
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
VS Code integrated terminal
Additional Information
No response