feat(ai): add Grok 4.6 to the model registry - #1113
Merged
Merged
Conversation
The Grok picker still topped out at 4.5, so the new flagship ID was not selectable with its documented xhigh reasoning effort. Co-authored-by: Cursor <cursoragent@cursor.com>
Next 16 discovers the repo-root instrumentation.ts from packages/docs, then fails because that file imports app persistence modules. Give the standalone docs app a no-op register() so the Grok catalog docs can build. Co-authored-by: Cursor <cursoragent@cursor.com>
wyuc
approved these changes
Aug 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Adds xAI's Grok 4.6 (
grok-4.6) to the built-in Grok catalog so it can be selected out of the box. Reuses the existing OpenAI-compatible xAI endpoint andopenaithinking adapter; the only catalog delta vs Grok 4.5 is the documentedxhighreasoning effort.Related Issues
Closes #1112
Changes
grok-4.6first in the Grok provider list (500k context / 500k output, vision, tools)reasoning_effortlow/medium/high/xhigh(defaulthigh) via a dedicatedgrok46Effortcapability — disabling is coerced tolow, matching other always-on effort modelsxhighrequest injection in unit testsGROK_MODELSexampleType of Change
Verification
Steps to reproduce / test
low/medium/high/xhigh, defaulthigh, with no disable/none optionnpx vitest run tests/ai/openai-provider.test.ts tests/ai/thinking-config.test.ts tests/ai/model-metadata.test.tsWhat you personally verified
grok-4.5andxhighwas not injected)tests/aisuite: 129 passedgrok-4.6/xhigh(no key in this environment)Evidence
pnpm check && pnpm lint && npx tsc --noEmit)Checklist
🤖 This PR is AI-assisted (built with Cursor Grok 4.6 and self-reviewed per CONTRIBUTING.md).
Made with Cursor Grok 4.6