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

Status Fixed / completed
Maintainer reply None cached
Activity 3 comments · opened Oct 7, 2025 · 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 ↗