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 — compaction.buffer: flat token count can't serve mixed model windows (no percentage or per-model form) · Issue #59994 · anomalyco/opencode Closed as duplicate Closed as duplicate Copy link Labels DescriptionWhat
Why that's a problemA single role commonly mixes model windows of very different sizes (e.g. a 131K local model and a 1M cloud model in the same
A buffer large enough to protect a slow local model's summarization request pushes that model down to ~52% of its window; a buffer small enough to be negligible for the cloud model leaves the local summarizer no headroom. There is no value that is correct for both. Evidence from a real deploymentRaising Related: a flat buffer also interacts badly with a per-model ProposalAny one of these would remove the footgun:
Repro{
"compaction": { "auto": true, "buffer": 30000, "keep": { "tokens": 15000 } },
"provider": {
"local": { "models": { "small": { "limit": { "context": 131072, "input": 98304, "output": 32768 } } } },
"cloud": { "models": { "large": { "limit": { "context": 1000000, "input": 980000, "output": 131072 } } } }
}
}Compaction then fires at 68,304 for Versionv2.1.4 (also present on Activity
MetadataMetadataAssigneesLabelsTypeProjectsMilestoneRelationshipsDevelopmentIssue actions | ||||||||||||
| 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. |