You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To upvote this issue, give it a thumbs up. See this list for the most upvoted issues.
Describe the bug
In some occasions automatic compaction does not trigger even if the chat is well beyond the established limit (in my case 80% of 256k context). I couldn't pinpoint the exact conditions to reproduce that, but it seems that user input or autocompact command is injected only from time to time, and sometimes it doesn't fire for the whole 50k context left when autocompaction threshold is passed.
To Reproduce
Not sure but try:
run an autonomous, complex task that requires a long context
see (sometimes) the autocompaction threshold be passed without compaction happening
Expected behavior
Autocompaction should start soon after the threshold is passed
I've noticed something similar, looks to me that images has something to do with it.
Do you know @apalazzi if your session used images as well?
Did it look the same (the number of reported token is wrong)? I am using Opus 5.5 here.
Activity
zikajk commentedon Sep 24, 2026
I've noticed something similar, looks to me that images has something to do with it.
Do you know @apalazzi if your session used images as well?
Did it look the same (the number of reported token is wrong)? I am using Opus 5.5 here.
apalazzi commentedon Sep 25, 2026
No images and token count seems correct.
ericdallo commentedon Oct 7, 2026
I couldn't repro this yet 🤔
Auto-compact again when the context refills in the same turn
Auto-compact again when the context refills in the same turn
Auto-compact again when the context refills in the same turn