#17386
fix(cursor): align Grok 4.7 context window to 256k/500k and drop unsupported max effort tier
Summary
In the Cursor provider catalog:
- Grok 4.7 currently falls back to 200,000 context tokens because bare
grok-4.7is not explicitly declared incursorProvider.models. Per Cursor/xAI documentation, Grok 4.7 has a 256k standard context window and a 500k extended context window. GROK_47_EFFORT_TIERSincursorAutoCatalog.tsincludesmax. Grok 4.7 only supportslow,medium,high, andxhigh.
Fix
- Declare
grok-4.7(256k) andgrok-4.7-500k(500k) incursorProvider.models. - Remove
maxfromGROK_47_EFFORT_TIERSincursorAutoCatalog.tsand ensure effort mapping matchesGROK_47_EFFORTS. - Update unit tests.
Activity
0No activity yet.