mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-04 06:12:10 +03:00
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:
1
changelog.d/features/6774-cursor-grok-4-5-effort-fast.md
Normal file
1
changelog.d/features/6774-cursor-grok-4-5-effort-fast.md
Normal file
@@ -0,0 +1 @@
|
||||
- **chore(cursor): add Grok 4.5 effort/fast model IDs** (#6774 — thanks @andrewmunsell).
|
||||
@@ -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" },
|
||||
],
|
||||
};
|
||||
|
||||
@@ -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");
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user