Skip to content

Fix Moonshot model names: offer K2.5 and K2 Turbo#41

Merged
aallan merged 1 commit into
mainfrom
fix/moonshot-model-name
Apr 8, 2026
Merged

Fix Moonshot model names: offer K2.5 and K2 Turbo#41
aallan merged 1 commit into
mainfrom
fix/moonshot-model-name

Conversation

@aallan

@aallan aallan commented Apr 8, 2026

Copy link
Copy Markdown
Owner

Summary

  • The old kimi-k2 identifier doesn't exist on the Moonshot API (all 50 problems returned 404)
  • Replace with their current lineup:
    • kimi-k2.5 — flagship, native multimodal (Opus equivalent)
    • kimi-k2-turbo-preview — fast, capable (Sonnet equivalent)

Test plan

  • Run benchmark with moonshot/kimi-k2.5 and verify API calls succeed
  • Run benchmark with moonshot/kimi-k2-turbo-preview and verify API calls succeed

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Updates
    • The existing Moonshot Kimi K2 option has been updated to reference the latest preview variant for benchmark runs and interactive selection.
  • New Features
    • A new selectable Moonshot model—Kimi K2 Turbo—has been added to interactive choices and command-line selection.

@coderabbitai

coderabbitai Bot commented Apr 8, 2026

Copy link
Copy Markdown

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: 4607afb2-8911-45d5-aa79-6c2e14737b71

📥 Commits

Reviewing files that changed from the base of the PR and between bd95915 and 902d0eb.

📒 Files selected for processing (1)
  • scripts/run_full_benchmark.py

📝 Walkthrough

Walkthrough

Updated Moonshot entries in the benchmark script's MODELS mapping: replaced moonshot/kimi-k2 with moonshot/kimi-k2.5 and added moonshot/kimi-k2-turbo-preview as a new selectable model option (affects which Moonshot model identifiers are used during benchmarking).

Changes

Cohort / File(s) Summary
Moonshot model mapping
scripts/run_full_benchmark.py
Replaced moonshot/kimi-k2 with moonshot/kimi-k2.5 and added moonshot/kimi-k2-turbo-preview in the MODELS mapping; updates available interactive model choices for the Moonshot provider.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

Suggested labels

ci

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Title check ⚠️ Warning The title refers to updating Moonshot model names to K2.5 and K2 Turbo, but the PR objectives indicate the actual focus is fixing the model identifier to kimi-k2-0905-preview to resolve 404 errors and zero benchmark results. Revise the title to reflect the primary objective: 'Fix Moonshot model identifier to kimi-k2-0905-preview' or similar, as this addresses the core issue of the non-existent kimi-k2 identifier causing benchmark failures.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/moonshot-model-name

Comment @coderabbitai help to get the list of available commands and usage tips.

The old kimi-k2 identifier does not exist on the Moonshot API.
Replace with their current lineup:
- kimi-k2.5 (flagship, multimodal)
- kimi-k2-turbo-preview (fast, capable)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@aallan aallan force-pushed the fix/moonshot-model-name branch from bd95915 to 902d0eb Compare April 8, 2026 11:44
@aallan aallan changed the title Fix Moonshot model name to kimi-k2-0905-preview Fix Moonshot model names: offer K2.5 and K2 Turbo Apr 8, 2026
@codecov

codecov Bot commented Apr 8, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.94%. Comparing base (a8bc8fe) to head (902d0eb).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #41   +/-   ##
=======================================
  Coverage   84.94%   84.94%           
=======================================
  Files          10       10           
  Lines        1116     1116           
=======================================
  Hits          948      948           
  Misses        168      168           
Flag Coverage Δ
python 84.94% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@aallan aallan merged commit 6cc3bac into main Apr 8, 2026
10 checks passed
@aallan aallan deleted the fix/moonshot-model-name branch April 8, 2026 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant