opencode icon indicating copy to clipboard operation
opencode copied to clipboard

Compaction Failing to Run on Time

Open DamianB-BitFlipper opened this issue 3 weeks ago • 2 comments

Description

I have noticed when using opencode recently with Opus 4.5 (unsure if its the model's fault), compaction fails to run on time and the context balloons too big before compaction can reduce it. See the image

Image

If I try to run /compact after this, the same error repeats. If I write a text prompt, it also fails with the same errors. This forces me to start a new session.

OpenCode version

1.0.203

Steps to reproduce

Just code with Opus long enough until it comes time to compact.

Screenshot and/or share link

Session here: session-ses_49bf.md

Operating System

macOs 15.6.1

Terminal

Ghostty

DamianB-BitFlipper avatar Dec 28 '25 09:12 DamianB-BitFlipper