Repository navigation
fix(desktop): prioritize Kimi subscription in model picker - #5260
Merged
Merged
Conversation
🦋 Changeset detectedLatest commit: 7d1289b The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
commit: |
wbxl2000
approved these changes
Nov 23, 2026
This was referenced Nov 23, 2026
6 tasks done
Merged
7723qqq
pushed a commit
to 7723qqq/kimi-code
that referenced
this pull request
Nov 24, 2026
Mark MoonshotAI#5048, MoonshotAI#5068, MoonshotAI#5203 and MoonshotAI#5260 ported with executable grep probes and evidence from the fork commits that carried them.
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.
Requirement or Bug
Desktop and web users who have both the Kimi Subscription and custom providers can see the subscription after custom providers in the full model picker. This PR makes the Kimi Subscription the first provider tab while preserving the existing order of every other provider.
No external issue is linked; this was requested as part of the model picker ordering cleanup.
Bug Reproduction Steps
Root Cause
The model picker derived provider tabs solely from each provider's first appearance in the model catalog. The managed subscription can be appended after existing model aliases, so catalog insertion order did not guarantee the intended product ordering. This is a presentation-layer fix; model catalog and provider APIs remain unchanged.
Code Changes
Allas the first tab.managed:kimi-codeto the first provider position when it exists.Allmodel list and its starred-first ordering unchanged.kimi-code-apppatch changeset.Screenshots / Recordings
Not attached. This PR changes only the order of existing provider tabs and does not change layout, styling, or interaction. Browser/Electron visual verification was not run; the rendered tab order is covered by the component test below.
Behavior Changes and Affected Users
All, then providers in model-catalog first-appearance orderAll, then Kimi Subscription when present, then the remaining providers in their original orderAlltabAffected modules and coverage:
packages/app-components/src/settings/ModelPicker.vue: provider-tab projection only.packages/app-components/test/modelPicker.test.ts: verifies subscription-first ordering and unchanged ordering when the subscription is absent..changeset/tidy-models-kimi.md: records the desktop patch.Validation
pnpm exec vitest run --reporter=agent packages/app-components/test/modelPicker.test.ts— 1 file, 2 tests passed.pnpm --filter kimi-code-app run typecheck— passed.pnpm lint— passed.pnpm run check:duplication 6bdb7ead8cb5c5b5982ebd59c912ae36010bdfa3— passed with no new clones.git diff --check origin/main...HEAD— passed.Checklist
gen-changesetsskill and added the confirmed desktop patch changeset.