Commit 275345a
fix(cursor): add kimi-k3 with low/high/max effort tiers (lidge-jun#646)
* fix(cursor): add kimi-k3 with low/high/max effort tiers
Cursor serves Kimi K3 only as effort-suffixed wire ids
(kimi-k3-low/-high/-max, verified via GetUsableModels 2026-07-28);
the bare id returns Connect not_found. Add the base model to
CURSOR_STATIC_MODELS (tier picker) and CURSOR_MODEL_EFFORT_TIERS so
requests resolve to a suffixed variant, mirroring the native Kimi
provider's K3 ladder.
* fix(cursor): keep max as the kimi-k3 catalog default
PR lidge-jun#646 seeds cursor/kimi-k3 with a low/high/max effort ladder, which is the
right tier data — Cursor serves K3 only as effort-suffixed wire ids and Kimi
documents max as the model's API default. But the Cursor registry entry supplied
no modelDefaultReasoningEfforts, and that ladder has no medium rung, so
applyReasoningLevels fell through medium -> high and settled the catalog default
on high. The picker then sends high explicitly and the request builder's
no-effort fallback to kimi-k3-max is never reached.
The other K3 routes (kimi, kimi-code, opencode-go) already carry this default,
so cursor was also the odd one out.
Verified in both directions: on the PR commit alone the assembled catalog row
reports default_reasoning_level = high; with this line it reports max; removing
the line again fails the new test with Received: "high". The existing
effort-suffix tests pass either way, which is why the defect slipped through —
they assert the ladder, not the assembled default.
Scope check: modelRecordValue matches exact key, colon-family, then case-fold,
so { "kimi-k3": "max" } cannot reach kimi-k3-max, kimi-k3-low, or any other
cursor model. Confirmed across 8 model ids; only kimi-k3 is affected.
Gates: tsc clean; codex-catalog 113 pass; cursor-effort-suffix + cursor-discovery
18 pass; provider-registry-parity + reasoning-effort 70 pass.
Docs ship in the same commit because the prose asserts the ladder and default.
---------
Co-authored-by: bitkyc08-arch <bitkyc08@gmail.com>1 parent bfacc3b commit 275345a
11 files changed
Lines changed: 76 additions & 14 deletions
File tree
- docs-site/src/content/docs
- guides
- ja/guides
- ko/guides
- ru/guides
- zh-cn/guides
- src
- adapters/cursor
- providers
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
274 | 274 | | |
275 | 275 | | |
276 | 276 | | |
277 | | - | |
278 | | - | |
279 | | - | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
280 | 282 | | |
281 | 283 | | |
282 | 284 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
204 | 204 | | |
205 | 205 | | |
206 | 206 | | |
207 | | - | |
208 | | - | |
209 | | - | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
210 | 212 | | |
211 | 213 | | |
212 | 214 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
205 | 205 | | |
206 | 206 | | |
207 | 207 | | |
208 | | - | |
209 | | - | |
210 | | - | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
211 | 213 | | |
212 | 214 | | |
213 | 215 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
219 | 219 | | |
220 | 220 | | |
221 | 221 | | |
222 | | - | |
223 | | - | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
224 | 227 | | |
225 | 228 | | |
226 | 229 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
194 | | - | |
195 | | - | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
196 | 198 | | |
197 | 199 | | |
198 | 200 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
170 | | - | |
| 170 | + | |
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
| |||
224 | 224 | | |
225 | 225 | | |
226 | 226 | | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
227 | 230 | | |
228 | 231 | | |
229 | 232 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
30 | 33 | | |
31 | 34 | | |
32 | 35 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
457 | 457 | | |
458 | 458 | | |
459 | 459 | | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
460 | 466 | | |
461 | 467 | | |
462 | 468 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
696 | 696 | | |
697 | 697 | | |
698 | 698 | | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
699 | 727 | | |
700 | 728 | | |
701 | 729 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
| |||
0 commit comments