fix(providers): advertise the Kimi Code CLI version 2.1.1 - #14842
Merged
diegosouzapw merged 1 commit intoSep 28, 2026
Merged
Conversation
The pinned constant was still 0.26.0, so the X-Msh-Version and User-Agent headers sent to api.kimi.com trailed the real CLI by two major versions. Captured from the 2.1.1 CLI on 2026-09-25 (kimi --version, kimi upgrade reports up to date). KIMI_CLI_VERSION still overrides the pin per deployment. Signed-off-by: Minxi Hou <houminxi@gmail.com>
3 of 6 tasks
diegosouzapw
merged commit Sep 28, 2026
20fbc40
into
diegosouzapw:release/v3.8.51
11 of 16 checks passed
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
The Kimi Code CLI pin was still
0.26.0. OmniRoute sends that value inX-Msh-VersionandUser-Agenttoapi.kimi.com, so every Kimi Code request advertised a client two major versions behind the real one.Bumped
KIMI_CODE_CLI_VERSIONto2.1.1, captured from the CLI on 2026-09-25 (kimi --versionprints2.1.1,kimi upgradereports already up to date).KIMI_CLI_VERSIONstill overrides the pin per deployment, so nothing changes for installs that set it.Test plan
tests/unit/executor-kimi.test.ts,tests/unit/kimi-coding-apikey-quota-4435.test.ts,tests/unit/kimi-coding-model-discovery.test.ts: 20/20 pass. The six assertions that pinned0.26.0now expect2.1.1, and they failed before the constant change.