conversation compression
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?
The session get to a conversation compression point and throws an error similar to:
⎿ Error: Error during compaction: Error: API Error: 400
{"type":"error","error":{"type":"invalid_request_error","message":"clear_thinking_20251015 strategy requires
thinking to be enabled"},"request_id":"req_011CUwG6vFpS46TG4Cn5Gkvg"}
the only solution is to close the session and start a new clean session with as much context as you can save.
What Should Happen?
no error . the conversation should continue after a short period of time
Error Messages/Logs
This is one example; others have been different.
⎿ Error: Error during compaction: Error: API Error: 400
{"type":"error","error":{"type":"invalid_request_error","message":"`clear_thinking_20251015` strategy requires
`thinking` to be enabled"},"request_id":"req_011CUwG6vFpS46TG4Cn5Gkvg"}
Steps to Reproduce
I guess the session has to just be long enough to force compression
Claude Model
Sonnet (default)
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
Sonnet 4.5 2.0.36 claude Max
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
Windows Terminal
Additional Information
_No response_
This issue has 7 comments on GitHub. Read the full discussion on GitHub ↗