GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — How to enable 1M context in OpenCode for GPT-5.4? Compaction triggers at 272k, not 1M · Issue #16308 · anomalyco/opencode Closed Labels coreAnything pertaining to core functionality of the application (opencode server stuff) DescriptionQuestionI see that OpenAI (e.g., GPT-5.4 or Claude 3.5) officially advertises 1M context window support, but when using these models in OpenCode, compaction is triggered as soon as the session approaches 272k tokens (sometimes even earlier), and the context never comes close to the full 1M tokens advertised. My compaction config is: "compaction": { "auto": true, "prune": true, "reserved": 16000 } Based on the documentation and codebase, it seems overflow/compaction is triggered using the provider/model's
Any guidance or clarification would be greatly appreciated! Reacted by Sergey Kostrukov, Ciprian Cimpan, Samuel Beer, syo093c, kodandaravi, Rahman Adianto and Benjamin Rabinowitz Activity
|
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |