feat(mobile): add Kimi K3 to the model picker (port #3869) - #3929
Merged
Conversation
|
😎 Merged successfully - details. |
|
React Doctor found no issues in the changed files. 🎉 Reviewed by React Doctor for commit |
fuziontech
approved these changes
Jul 29, 2026
Gilbert09
force-pushed
the
posthog-code/mobile-kimi-k3-model-picker
branch
from
July 29, 2026 13:20
dc3e408 to
d38641f
Compare
Ports the desktop Kimi K3 model support (#3869, #3883) to the React Native app. Adds `moonshotai/kimi-k3` to the cloud-task model picker, gated on the shared `KIMI_MODEL_FLAG`, with no reasoning-effort support (matching desktop, where Kimi is absent from the Claude effort table). When the flag is off Kimi is hidden and a persisted per-task selection of it falls back to a visible model, mirroring desktop's stripKimiModelOption. Generated-By: PostHog Code Task-Id: 21ef821f-1517-4bd0-a79d-074848e1c2b0
Gilbert09
force-pushed
the
posthog-code/mobile-kimi-k3-model-picker
branch
from
July 29, 2026 13:37
d38641f to
33e1ab5
Compare
|
/trunk merge |
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.
Problem
The desktop app can drive the
moonshotai/kimi-k3model through the Claude adapter (behind a feature flag), but the React Native app's model picker didn't offer it. This ports that support to mobile so the two hosts match.Ports desktop PRs #3869 (
feat(models): add Kimi K3 to Claude adapter) and #3883 (fix(models): include Kimi in preview picker).Why: keep the mobile model picker in parity with desktop for the flag-gated Kimi rollout.
Changes
moonshotai/kimi-k3("Kimi K3") entry to the mobile model options withsupportsReasoning: false— Kimi is absent from the shared Claude effort table, so no effort selector is shown and no stored effort is sent for it.KIMI_MODEL_FLAG(imported from@posthog/shared, not hardcoded), following the existinguseWarmTaskflag pattern. Both composer screens read the flag and pass the filtered model list to the presentational composer.moonshotai/kimi-k3falls back to a visible model — mirroring desktop'sstripKimiModelOption.isModalModelIdclassifier for the gate rather than duplicating the id literal.How did you test this?
options.test.tscovering: Kimi present when the flag is on, absent when off, the persisted-model fallback when off, and that Kimi reports no reasoning support.pnpm --filter @posthog/mobile test— 62 files / 539 tests pass.pnpm --filter @posthog/mobile lint— clean.tsc --noEmit— no type errors in the touched files.Automatic notifications
Created with PostHog Code