Repository navigation
Conversation
The fork added it second (243cd1e) and upstream added it last (milind-soni#5712); the upstream sync (92ae72c) kept both, so the picker showed it twice.
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.
What changed
OPENROUTER_DECIDER_MODELSinserver/decider/openrouter-models.tslistedgoogle/gemini-decision-1twice. This PR drops the second entry (the last line of the list). Gemini Decision 1 stays where the fork put it, second after the default. One line, no other changes.Why
The decision model picker offered Gemini Decision 1 twice under "recommended", and
server/decider/openrouter-models.test.tshas failed onmainsince the 0.1.175 sync was merged (#42, 34e4f26, first failing run 2026-11-21), on Ubuntu and Windows.mergeModelskeeps every curated id that OpenRouter lists, in curated order, so the duplicate reached the picker. The two failing tests are the ones that check this:This PR keeps the fork's position rather than upstream's, so the only visible change is that the copy disappears. After it, the file matches upstream apart from Gemini's place in the list.
How it was verified
macOS, Node 24.22.1 (the CI version). Before is
main8c67e9d.Before shows Gemini twice among 11 recommended models; after shows it once, still second, among 10.
main8c67e9d)mergeModelswith every curated id found (one-off script calling the real module){"recommended":11,"gemini":2,"geminiAt":1}{"recommended":10,"gemini":1,"geminiAt":1}pnpm exec vitest run server/decider/openrouter-models.test.tsTests 2 failed | 12 passed (14)pnpm exec vitest run server/decider/Test Files 1 failed | 12 passed | 2 skipped (15),Tests 2 failed | 292 passed | 4 skipped (298)Test Files 13 passed | 2 skipped (15),Tests 294 passed | 4 skipped (298)oxlint server/decider/openrouter-models.tsexits 0.Not covered
mergeModels, which the script and tests above call directly.Checklist