Skip to content

Compaction Failing to Run on Time #6286

@DamianB-BitFlipper

Description

@DamianB-BitFlipper

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions