Repository navigation
fix(registry): restore models[0] default + guards; note muse-spark overlay (#11051/#11049) - #11133
Merged
diegosouzapw merged 1 commit intoAug 22, 2026
Conversation
…erlay (cheaper-inference#11051/cheaper-inference#11049) cheaper-inference#11051 placed the SHARED model spread at index 0, silently changing the dashboard default to kimi-k2.7-code for both opencode-go and opencode-zen. - Move the spread after glm-5.2 (go) / big-pickle (zen) to restore the original models[0] (the dashboard default; ~14 call sites take models[0]). Exact pre-cheaper-inference#11051 interleaving not restorable with one spread and not required. - Narrow guards: assert referenced non-shared ids (minimax-m3, glm-5.1) remain present, and models[0].id is glm-5.2 / big-pickle. No full-catalog snapshot (passthroughModels: true, live-regenerated). - cheaper-inference#11049: one-line comment marking zen muse-spark-1.2-contributor-free as an explicit wire-format overlay of the base provider (avoid catalog-sync drift). Why: owner flagged the silent default-model change (cheaper-inference#11051) + overlay-drift risk (cheaper-inference#11049) on already-merged PRs. Decision: restore models[0] only (not original interleaving); runtime-narrow guards instead of a frozen golden list. Co-Authored-By: opencode <noreply@opencode.ai>
6 tasks done
diegosouzapw
merged commit Aug 22, 2026
efc7134
into
cheaper-inference:release/v3.8.50
9 of 16 checks passed
muhamadgalihsaputra
pushed a commit
to niyatna/NiyatnaRoute
that referenced
this pull request
Sep 27, 2026
…erlay (cheaper-inference#11051/cheaper-inference#11049) (cheaper-inference#11133) Validated on the combined batch board over release/v3.8.50 tip 0f43f0f: static gates clean, typecheck:core clean, focused tests green. Restores the models[0] dashboard default silently changed by cheaper-inference#11051, with narrow guards instead of a brittle full snapshot. Thank you @maxmad64bis!
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.
Summary
Follow-up to the already-merged #11051 and #11049.
OPENCODE_ZEN_GO_SHARED_MODELSspread atmodels[0], so the dashboard default becamekimi-k2.7-codefor bothopencode-goandopencode-zen(the dashboard picksmodels[0], e.g.LlmChatCard.tsx:178,ProviderTestSlideOver.tsx:63). Moved the spread afterglm-5.2(go) /big-pickle(zen) to restore the originalmodels[0]. Exact pre-refactor(providers): dedupe identical opencode-zen/opencode-go model entries #11051 interleaving is not restorable with a single spread and is not required.minimax-m3,glm-5.1) remain present, andmodels[0].idisglm-5.2/big-pickle. A full snapshot would red on every legitimate catalog sync (passthroughModels: true, live-regenerated).zen muse-spark-1.2-contributor-freeas an explicit wire-format overlay of the base provider (avoid catalog-sync drift).Related Issues
Validation
Change type: provider / other (registry + tests)
opencode-zen-go-shared-models.test.ts,check:provider-consistency(267/0),opencode-muse-spark-responses-10867,opencode-zen-muse-spark-targetformat-11046,opencode-go-catalog-alignmentnpm run lint(pre-commit hooks ran on commit)upstream/release/v3.8.50Tests Added Or Updated
tests/unit/opencode-zen-go-shared-models.test.ts— two new narrow guards (non-shared id presence + models[0] default)Coverage Notes
open-sse/config/providers/registry/opencode/{go,zen}/index.tschanges are covered by the newopencode-zen-go-shared-modelsguards plus the existingcheck:provider-consistency(267 entries).Reviewer Notes
eventDescriptions.tsor any webhook code.upstream/release/v3.8.50where the spread is correctly at index 0.