chore(cursor): add Grok 4.5 effort/fast model IDs (#6774)

Reconstructed onto release/v3.8.47 to drop unrelated main-drift (deps/electron/proxy
files belong to #6620, not this PR); keeps only the author's changes.

Co-authored-by: diegosouzapw <8016841+diegosouzapw@users.noreply.github.com>
This commit is contained in:
Andrew Munsell
2026-07-10 14:08:59 -07:00
committed by GitHub
parent ec0381c453
commit 647544b810
3 changed files with 13 additions and 0 deletions

View File

@@ -0,0 +1 @@
- **chore(cursor): add Grok 4.5 effort/fast model IDs** (#6774 — thanks @andrewmunsell).

View File

@@ -149,6 +149,13 @@ export const cursorProvider: RegistryEntry = {
//
{ id: "grok-4.3", name: "Grok 4.3" },
//
{ id: "grok-4.5-medium", name: "Grok 4.5 Medium" },
{ id: "grok-4.5-fast-medium", name: "Grok 4.5 Fast Medium" },
{ id: "grok-4.5-high", name: "Grok 4.5 High" },
{ id: "grok-4.5-fast-high", name: "Grok 4.5 Fast High" },
{ id: "grok-4.5-xhigh", name: "Grok 4.5 XHigh" },
{ id: "grok-4.5-fast-xhigh", name: "Grok 4.5 Fast XHigh" },
//
{ id: "kimi-k2.5", name: "Kimi K2.5" },
],
};

View File

@@ -45,4 +45,9 @@ test("humanizeCursorModelId pretty-prints common patterns", () => {
assert.equal(humanizeCursorModelId("kimi-k2.5"), "Kimi K2.5");
assert.equal(humanizeCursorModelId("gemini-3.1-pro"), "Gemini 3.1 Pro");
assert.equal(humanizeCursorModelId("claude-4-sonnet-thinking"), "Claude 4 Sonnet Thinking");
// Grok 4.5 uses infix -fast- (unlike GPT's trailing -fast)
assert.equal(humanizeCursorModelId("grok-4.5-medium"), "Grok 4.5 Medium");
assert.equal(humanizeCursorModelId("grok-4.5-fast-medium"), "Grok 4.5 Fast Medium");
assert.equal(humanizeCursorModelId("grok-4.5-xhigh"), "Grok 4.5 XHigh");
assert.equal(humanizeCursorModelId("grok-4.5-fast-xhigh"), "Grok 4.5 Fast XHigh");
});