GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(cursor): support current Grok 4.5 Fast wire IDs by jbaehova · Pull Request #797 · lidge-jun/opencodex

Conversation

@jbaehova

@jbaehova jbaehova commented Jul 31, 2026 •
edited by coderabbitai Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Summary

  • recognize Cursor's current Grok 4.5 Fast wire IDs, where -fast follows the effort tier
  • align Grok 4.5 and Grok 4.5 Fast with Cursor's current low / medium / high effort names
  • use one wire-ID composer for live discovery and outgoing Cursor requests
  • keep discovery compatibility with the older grok-4.5-fast-{effort} ordering

Why

Cursor now exposes Fast variants as IDs such as cursor-grok-4.5-high-fast, while the adapter only matched and emitted grok-4.5-fast-high. Live model filtering therefore removed cursor/grok-4.5-fast from the GUI and Codex catalog even when the account could use it, and direct requests selected a wire ID Cursor no longer serves.

Cursor staff documented the current slug migration from grok-4.5-fast-{medium,high,xhigh} to cursor-grok-4.5-{low,medium,high}-fast: https://forum.cursor.com/t/cursor-grok-4-5-high-fast-doesnt-offer-a-50-discount-at-all/165551/8

Related context: #731 and the closed wrong-target PR #730.

User impact

Accounts whose live model list includes Grok 4.5 Fast can retain cursor/grok-4.5-fast as a separately selectable model. Requests now send the matching trailing-Fast wire ID, including the default/top-tier grok-4.5-high-fast.

Test plan

  • bun test tests/cursor-discovery.test.ts tests/cursor-effort-suffix.test.ts
  • bun run typecheck
  • bun run prepush

Summary by CodeRabbit

  • New Features

    • Added support for low, medium, and high effort levels across additional Cursor models, including Grok and Fast variants.
    • Improved recognition of Cursor model identifiers so supported standard and Fast models appear correctly.
  • Bug Fixes

    • Fixed model availability matching for current and legacy effort identifier formats.
    • Prevented mismatched model and effort combinations from being selected.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@jbaehova
fix(cursor): support current Grok 4.5 Fast wire IDs
c879ec9
@coderabbitai

coderabbitai Bot commented Jul 31, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: e346ca73-4be3-4ac4-aaa7-fee5c64eac6b

📥 Commits

Reviewing files that changed from the base of the PR and between afe2aa3 and c879ec9.

📒 Files selected for processing (5)
  • src/adapters/cursor/discovery.ts
  • src/adapters/cursor/effort-map.ts
  • src/adapters/cursor/request-builder.ts
  • tests/cursor-discovery.test.ts
  • tests/cursor-effort-suffix.test.ts

📝 Walkthrough

Walkthrough

Cursor effort mapping now supports Grok low/medium/high tiers and places -fast after the effort suffix in wire IDs. Request normalization and account discovery use the new format while retaining legacy matching.

Changes

Cursor effort wire-ID handling

Layer / File(s) Summary
Effort mapping and request construction
src/adapters/cursor/effort-map.ts, src/adapters/cursor/request-builder.ts, tests/cursor-effort-suffix.test.ts
Grok tiers now use low/medium/high. cursorWireModelIdWithEffort builds standard and -fast wire IDs. normalizeCursorModelId uses the helper. Tests cover clamping, canonical ladders, and Fast identifiers.
Account discovery compatibility
src/adapters/cursor/discovery.ts, tests/cursor-discovery.test.ts
Account matching recognizes standard IDs, current -{effort}-fast IDs, and the legacy -fast-{effort} format. Tests reject mismatched combinations and retain both Grok variants during filtering.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Possibly related PRs

  • lidge-jun/opencodex#730: Modifies Cursor effort-ID construction and discovery for Grok Fast wire IDs.
  • lidge-jun/opencodex#318: Modifies Cursor model-ID handling in discovery and request building.
  • lidge-jun/opencodex#646: Modifies Cursor effort-tier mapping and discovery tests.

Suggested reviewers: wibias, lidge-jun, koopmannleon19977-cmyk, ingwannu

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly identifies the Cursor fix for current Grok 4.5 Fast wire IDs, which is the primary change in the pull request.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions github-actions Bot added the bug Something isn't working label Jul 31, 2026
@jbaehova
jbaehova marked this pull request as ready for review July 31, 2026 04:30
@jbaehova
jbaehova requested review from Ingwannu, Wibias and lidge-jun as code owners July 31, 2026 04:30
chatgpt-codex-connector[bot]
chatgpt-codex-connector Bot reviewed Jul 31, 2026
View reviewed changes

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c879ec95ce

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread src/adapters/cursor/effort-map.ts
*/
export function cursorWireModelIdWithEffort(baseModelId: string, effortSuffix: string): string {
if (baseModelId.endsWith("-fast")) {
return `${baseModelId.slice(0, -"-fast".length)}-${effortSuffix}-fast`;

@chatgpt-codex-connector chatgpt-codex-connector Bot Jul 31, 2026

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Preserve the discovered Fast wire-ID ordering

When GetUsableModels returns only a legacy ID such as cursor-grok-4.5-fast-medium, isCursorModelAvailableForAccount deliberately keeps grok-4.5-fast visible, but every request is now unconditionally rewritten to grok-4.5-medium-fast. For the exact legacy-account context this compatibility branch handles, the selected model can therefore fail with ERROR_BAD_MODEL_NAME; either stop exposing legacy-only discoveries or retain the discovered ordering when constructing the request.

Useful? React with 👍 / 👎.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@lidge-jun
lidge-jun merged commit cd9ad73 into lidge-jun:dev Jul 31, 2026
3 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@coderabbitai coderabbitai Bot mentioned this pull request Aug 1, 2026
feat(server): advertise reasoning-effort ladders on the raw /v1/models list #853
Merged
5 tasks done
@jbaehova jbaehova mentioned this pull request Aug 2, 2026
fix(cursor): send Grok 4.5 Fast parameters #881
Closed
3 tasks done
This was referenced Aug 12, 2026
cursor: Test Grok 4.6 Fast parameter mapping #1550
Closed
test(cursor): verify Grok 4.6 routing #1547
Closed
@jbaehova jbaehova mentioned this pull request Aug 13, 2026
fix(grok): expose Grok 4.6 xhigh and Cursor Fast #1591
Closed
7 tasks done
agentHits pushed a commit to agentHits/opencodex that referenced this pull request Sep 17, 2026
@lidge-jun
Merge pull request lidge-jun#797 from jbaehova/agent/fix-cursor-grok-…
ebd60c9
…fast-wire-ids

Verified locally on top of origin/dev alongside lidge-jun#808: typecheck clean, 214 targeted tests pass (cursor-discovery, cursor-effort-suffix, cursor-request-builder, adapter-resolve, router, config, repo-hygiene), privacy:scan green.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@chatgpt-codex-connector chatgpt-codex-connector[bot] chatgpt-codex-connector[bot] left review comments
@lidge-jun lidge-jun Awaiting requested review from lidge-jun lidge-jun is a code owner
@Ingwannu Ingwannu Awaiting requested review from Ingwannu Ingwannu is a code owner
@Wibias Wibias Awaiting requested review from Wibias

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

bug Something isn't working

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@jbaehova @lidge-jun
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.