[BUG]
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?
A compactação automática de conversas (auto-compaction) parou de funcionar hoje (30/05/2026). Anteriormente, quando a conversa se aproximava do limite de tokens, ela era compactada automaticamente. Agora isso não acontece mais, fazendo com que o limite seja atingido rapidamente e eu precise iniciar um novo chat constantemente.
Plano: PRO
App: Claude Code Desktop
Sistema: Windows 11
<img width="832" height="524" alt="Image" src="https://github.com/user-attachments/assets/f8f92f7b-88a2-453c-b7e7-f21b3c97cea0" />
<img width="101" height="1020" alt="Image" src="https://github.com/user-attachments/assets/e5e0ea11-b872-47ac-9533-f569ec7c9021" />
<img width="77" height="1040" alt="Image" src="https://github.com/user-attachments/assets/b9d45011-2ae5-4cbd-8450-296433849215" />
What Should Happen?
As conversas devem ser compactadas automaticamente quando se aproximam do limite de contexto, permitindo continuar a mesma conversa sem precisar iniciar um novo chat.
<img width="1083" height="898" alt="Image" src="https://github.com/user-attachments/assets/37e96b59-4cf7-48fc-8151-3f27ced13942" />
<img width="1076" height="584" alt="Image" src="https://github.com/user-attachments/assets/eaacd345-0527-417b-8ea5-4004ab1a8aa9" />
Error Messages/Logs
API Error: Usage credits required for 1M context · turn on usage credits at claude.ai/settings/usage, or use --model to switch to standard context
Algo deu errado
Tente enviar sua mensagem novamente. Se continuar acontecendo, compartilhe um feedback para que possamos investigar.
API Error: Usage credits required for 1M context · turn on usage credits at claude.ai/settings/usage, or use --model to switch to standard context
Você pode reiniciar a conversa a partir de uma mensagem anterior.
Steps to Reproduce
- Abrir o Claude Code Desktop App
- Iniciar uma conversa longa até se aproximar do limite de contexto
- O app não realiza a compactação automática e exibe o erro:
"API Error: Usage credits required for 1M context - turn on usage credits
at claude.ai/settings/usage, or use --model to switch to standard context"
- A conversa trava e é necessário iniciar um novo chat
Plano: PRO
App: Claude Code Desktop
Sistema: Windows 11
Funcionava normalmente até 29/05/2026
Claude Model
Sonnet (default)
Is this a regression?
Yes, this worked in a previous version
Last Working Version
2.1.126 (Claude Code)
Claude Code Version
2.1.126 (Claude Code)
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
PowerShell
Additional Information
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗