Repository navigation
fix(opencode-go): align verified model context limits - #16761
Merged
Merged
Conversation
diegosouzapw
marked this pull request as ready for review
October 16, 2026 02:17
Contributor
CI Coverage Report
Coverage artifact was not available for this run. |
This was referenced Oct 18, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
OpenCode Go models without synced metadata can inherit the provider's 200,000-token default or omit output limits in imported catalog rows. Add the exact provider-scoped limits for 12 verified models: update three existing rows and register nine missing rows. Catalog enrichment, capability resolution, and context management then use the documented windows while retaining operator and synced-data precedence.
The values come from the official models.dev Go catalog pinned at 26d4dc7, resolving its
base_modelinheritance. Request formats follow the official Go endpoint table. GPT-6 Luna retains its narrower 922,000-token input ceiling; Space Bunny uses a 524,288-token input ceiling. The provider URL, default model order, executor, global model specs, and existing effort aliases are unchanged.This addresses the verified subset of #16579.
deepseek-flash,minimax-m2.5,omen-alpha, and the Qwen high/max alias IDs still need Go-specific limit evidence. The inspected sources did not establish Go-specific limits for those IDs, and the executor forwards the Qwen aliases as distinct IDs. Their existing rows remain available; limits from another provider are not assumed to apply. The issue should remain open for that evidence.Validation uses frozen release base
6a1437e6e262db43b50d4bc8cb7b1d658b2e6308and the audited exact lockfile dependency tree (2,524 installed packages checked, zero version mismatches). This does not claim validation of a later merge result.114e112f1c310c5884f5bb66c24d797aefa27499. Dashboard findings remain within the frozen baseline.Refs #16579