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
{{ message }}
Repository navigation
Automatic Compaction Triggers at 50% of Context Window #39798
Automatic Compaction Triggers at 50% of Context Window, when a single prompt instructs model to read a few long .md markdown files, upon reaching approximately half of the context window, automatic compaction is triggered. Reproducible with same instructions in new session. This problem only seems to have appeared after recent updates.
(context window of provider model is 1m but triggers compaction at around 500k, but config buffer is set ass only 10k)
(provider is nvidia nim deepseek v4 pro routed behind a proxy)
Plugins
oh-my-openagent
OpenCode version
1.18.8
Steps to reproduce
Install opencode 1.18.8
Prepare a few long markdown files
Instruct model to read all of them in full without truncation +/- other instructions
Compaction triggers around 50% of context window usage
If your issue is distinct (e.g., specific to the buffer config being ignored or proxy routing), please add clarifying details so we can track it separately.
Activity
github-actions commentedon Jul 31, 2026
This issue might be a duplicate of existing issues. Please check:
If your issue is distinct (e.g., specific to the buffer config being ignored or proxy routing), please add clarifying details so we can track it separately.
github-actions commentedon Sep 30, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.