[Bug] /compact fails intermittently with "context too long" error

Resolved 💬 3 comments Opened Oct 7, 2025 by VitorAndTxr Closed Nov 3, 2025

Bug Description
Sometimes, when i use /compact, it returns a error saying that the context is too long, but when i close de claude and reopen the same chat, it works fine in the same session with the same context without change.

Environment Info

  • Platform: win32
  • Terminal: vscode
  • Version: 2.0.10
  • Feedback ID: 1f5be368-0cd5-4b16-9d43-7388510c3641

Errors

[]

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗