From 647544b810b6a12d0bd2fa61a105ab9259ef4705 Mon Sep 17 00:00:00 2001 From: Andrew Munsell Date: Fri, 10 Jul 2026 14:08:59 -0700 Subject: [PATCH] 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> --- changelog.d/features/6774-cursor-grok-4-5-effort-fast.md | 1 + open-sse/config/providers/registry/cursor/index.ts | 7 +++++++ tests/unit/cursor-agent-models.test.ts | 5 +++++ 3 files changed, 13 insertions(+) create mode 100644 changelog.d/features/6774-cursor-grok-4-5-effort-fast.md diff --git a/changelog.d/features/6774-cursor-grok-4-5-effort-fast.md b/changelog.d/features/6774-cursor-grok-4-5-effort-fast.md new file mode 100644 index 0000000000..a43c55469b --- /dev/null +++ b/changelog.d/features/6774-cursor-grok-4-5-effort-fast.md @@ -0,0 +1 @@ +- **chore(cursor): add Grok 4.5 effort/fast model IDs** (#6774 — thanks @andrewmunsell). diff --git a/open-sse/config/providers/registry/cursor/index.ts b/open-sse/config/providers/registry/cursor/index.ts index 264ee9740e..ee9054cd0d 100644 --- a/open-sse/config/providers/registry/cursor/index.ts +++ b/open-sse/config/providers/registry/cursor/index.ts @@ -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" }, ], }; diff --git a/tests/unit/cursor-agent-models.test.ts b/tests/unit/cursor-agent-models.test.ts index fafb7dbd09..a59076f3ff 100644 --- a/tests/unit/cursor-agent-models.test.ts +++ b/tests/unit/cursor-agent-models.test.ts @@ -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"); });