[BUG] semi-daily bug report
Resolved 💬 4 comments Opened May 20, 2025 by tassa-yoniso-manasi-karoto Closed Jan 3, 2026
Environment
- Platform (select one):
- [x ] Anthropic API
- [ ] AWS Bedrock
- [ ] Google Vertex AI
- [ ] Other: <!-- specify -->
- Claude CLI version: v0.2.122
- Operating System: Linux 6.12
- Terminal: gnome-terminal
Bug Description
/compact on a resumed conversation causes this error:
Error: Error during compaction: Error: API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages.309.content.0: When thinking is disabled, anassistantmessage in the final position cannot containthinking. To use thinking blocks, enablethinkingin your request."}}
Context
I had interrupted the previous on-going prompt preceeding /compact because the % context available appeared all of a sudden and for some reason "Interrupted by user" also shows on /compact.
Trying /compact again failed.
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗