fix(moonshot): deactivate retired kimi-k2-thinking line - #2849
Merged
Merged
Conversation
Moonshot dropped the kimi-k2-thinking models from its API (live /v1/models now only lists k2.5/k2.6/k2.7), and BytePlus Ark dropped every kimi-k2-thinking snapshot too. Both 404 in e2e. Deactivate the moonshot + bytedance kimi-k2-thinking mappings and the moonshot kimi-k2-thinking-turbo mapping. The model keeps its alibaba provider (test: skip), so it is not orphaned. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Contributor
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
💤 Files with no reviewable changes (1)
WalkthroughAdds ChangesMoonshot model deactivation
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
steebchen
enabled auto-merge
June 28, 2026 15:26
steebchen
added this pull request to the merge queue
Jun 28, 2026
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.
Context
The
e2ejob on #2835 failed on six provider/model mappings. I reproduced each failure locally against the live providers (gateway on :4001, real keys) to find the root cause. The CI "33s / retry x5" is just retry backoff over fast errors, so the local errors match what CI hit.Findings
moonshot/kimi-k2-thinking404 resource_not_found/v1/modelsonly lists k2.5/k2.6/k2.7); BytePlus Ark dropped every snapshot toosakana/fugu-ultra403 Forbidden(HTML,via: 1.1 google)/— geo/WAF block from test infra, not a mapping/URL bugazure-ai-foundry/grok-4-1-fast-reasoning404 DeploymentNotFoundazure/gpt-oss-120b404 DeploymentNotFounddata: [])together-ai/gpt-oss-120b503 Service Unavailableaws-bedrock/claude-sonnet-4-6Change
Only the Moonshot failure is a real, code-fixable mapping bug. This PR deactivates the retired
kimi-k2-thinkingmappings:moonshot/kimi-k2-thinking→deactivatedAtbytedance/kimi-k2-thinking(-251104) →deactivatedAtmoonshot/kimi-k2-thinking-turbo→deactivatedAtThe model keeps its
alibabaprovider (test: skip, active until its own2026-07-08deactivation), so it is not orphaned.The other five are not mapping bugs: two are unprovisioned Azure resources (deployments need creating), one is a geo/WAF block on Sakana's endpoint, and two are transient provider hiccups. None are fixable by editing model definitions — flagging for an infra decision (provision the Azure deployments; confirm whether Sakana is reachable from gateway infra, else mark
test: "skip").Verification
turbo run build— 17/17 ✓providers.spec/model-metadata.spec/compliance.spec— 36/36 ✓🤖 Generated with Claude Code
Summary by CodeRabbit