Task under Auto rejects gemini-4-argon; under BYOK Gemini parent, grok-4.7-high-fast Task seats silently run as Gemini 4 Argon

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Chat model picker and Task model allow-list are different catalogs. Two related failures:

  1. Under Auto (or Grok) parent: Task only accepts a tiny Grok allow-list (observed: cursor-grok-4.6-high-fast, grok-4.7-high-fast). gemini-4-argon / gemini-4-argon-high are rejected with “Invalid model selection” even though Gemini 4 Argon is selectable as the parent chat model. Chat picker ≠ Task allow-list.

  2. Under Gemini 4 Argon parent with user-provided (BYOK) Gemini API key: Task may accept grok-4.7-high-fast, but the subagent self-reports as Gemini 4 Argon. Invalid/nonsense slugs are also not rejected and still run as Gemini. So BYOK Gemini parent appears to force all Task subagents onto Argon; pstack-models.mdc / Task model cannot override.

This breaks intentional dual-model setups (easy roles on Grok, hard roles on Argon) via pstack / Task.

Related forum reports (allow-list lag / inherit workaround):

Steps to Reproduce

  1. Configure ~/.cursor/rules/pstack-models.mdc with some roles grok-4.7-high-fast and some gemini-4-argon.
  2. Set parent chat to Auto. Spawn Task with model: gemini-4-argon → rejected; allow-list shows only Grok slugs. Spawn Task with model: grok-4.7-high-fast → works; agent reports Grok 4.7.
  3. Switch parent chat to Gemini 4 Argon with a user-provided Google API key enabled. Spawn Task with model: grok-4.7-high-fast → agent reports Gemini 4 Argon (misroute). Spawn with an invalid slug → not rejected; still Gemini.

Expected Behavior

  • Task allow-list should include models enabled in the chat picker (including Gemini 4 Argon and effort variants), or docs should clearly state Task is Grok-only under Auto.
  • Explicit Task model: grok-… under a Gemini BYOK parent should run Grok (or hard-fail), not silently remap to Gemini.
  • Invalid Task model slugs should always be rejected with the allow-list, regardless of parent.

Operating System

Windows 10/11

Version Information

Windows (Book6), Cursor IDE local agent session. Project: mtg-draft. Agent transcript id: f9d6f29a-0f51-474c-8587-8be60bfeae98.

Feature/product: Cursor IDE — Agent Task / subagents (pstack / multi-model role routing)

For AI issues: which model did you use?

Parent chat: Auto, Grok, and Gemini 4 Argon (user-provided / BYOK Gemini API key). Task models tried: gemini-4-argon, gemini-4-argon-high, grok-4.7-high-fast, cursor-grok-4.6-high-fast.

For AI issues: add Request ID with privacy disabled

(Please attach from Chat → ⋯ → Copy Request ID for the failed Gemini Task spawn and the misrouted Grok→Gemini spawn if available.)

Agent transcript id: f9d6f29a-0f51-474c-8587-8be60bfeae98

Additional Information

Actual Behavior

  • Auto parent: Gemini Task slugs rejected; only Grok *-high-fast accepted.
  • Gemini BYOK parent: Grok Task seats silently run as Gemini 4 Argon; slug enforcement weak/absent.

Workaround today

Keep parent on Auto/Grok for Grok Task seats; run Argon hard roles in a separate Gemini-parent chat with inherit-parent / omit Task model; or disable custom Gemini API key so multi-provider Task routing stays active.

Where does the bug appear (feature/product)?

Cursor IDE — Agent Task / subagents (pstack / multi-model role routing)

Operating System / Cursor

Windows (Book6), Cursor IDE local agent session. Project: mtg-draft. Agent transcript id: f9d6f29a-0f51-474c-8587-8be60bfeae98.

Request IDs

(Please attach from Chat → ⋯ → Copy Request ID for the failed Gemini Task spawn and the misrouted Grok→Gemini spawn if available.)

Note: the two related forum reports are linked in Describe the Bug. A second copy was removed because new accounts are limited to 2 links per post.

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hi @honlam_li,

Both of these come from how a custom API key interacts with subagents. When the parent runs on your own key, every subagent is kept on the parent’s model, so a Grok slug (or a made-up one) quietly runs as Gemini 4 Argon. That it happens with no error or notice is a known issue the team is tracking, and I’ve added your report to it.

The Auto side is related: while your Google key is on, Gemini models are left out of the Task model list on purpose. That’s most likely why Argon was rejected there.

For Grok and Argon subagents in one chat, for now:

  1. Turn off the Google API key in Cursor Settings → Models.
  2. Keep the parent on Auto or Grok, and set Gemini 4 Argon to the effort you want in the model picker.
  3. Pass the exact slug the Task list shows, for example gemini-4-argon-high. Bare gemini-4-argon won’t match.

Argon subagents should then run on your Cursor plan usage instead of your Google key.