You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Antigravity delegate_task rejects the suffixed model ID shown in Settings (gemini-4-neon-high → model_unavailable) #39298
I searched existing issues and did not find a duplicate.
I included enough detail to reproduce or investigate the problem.
Related, not duplicates: #39277 (effort variants listed as separate models in the picker), #35713 (delegate_task effort validation errors).
Area
apps/server
Steps to reproduce
Sign in to an Antigravity instance with managed CLI 1.5.12 (oauth-personal).
Note the model ID shown for it in Settings → Providers → Antigravity, e.g. gemini-4-neon-high.
From an agent, call delegate_task with target: { instanceId: "antigravity", model: "gemini-4-neon-high" }.
Expected behavior
The child starts on Gemini 4 Neon with high thinking. Either the ID shown in Settings is the one delegation accepts, or delegation maps <family>-<level> onto <family> plus the thought_level option.
Actual behavior
delegate_task fails with model_unavailable. orchestrator_capabilities advertises gemini-4-neon with a separate thought_level option, and delegate_task with model: "gemini-4-neon" and options: { thought_level: "high" } starts normally.
requireAdvertisedModel (apps/server/src/mcp/OrchestratorMcpService.ts:417-433) rejects any slug that is not in provider.models and does not match one of their aliases (advertisedModel, :395-398).
The Antigravity session layer still accepts the old suffixed IDs. legacyAntigravityFamily and resolveAntigravityModel (apps/server/src/provider/acp/AntigravityAcpSupport.ts:233-262) pass gemini-3.8-flash-high-style IDs through because "the agent still accepts the old IDs".
So an ID the runtime would accept, and that the user sees in Settings, is rejected one layer earlier, by the orchestrator.
Possible fixes: advertise each <family>-<level> as an alias of its family model, so advertisedModel resolves it, and turn the suffix into the thought_level option. Or make sure Settings only ever shows the advertised slug.
Impact
Minor bug or occasional failure
Version or commit
0.1.11-nightly.20261119.4918
Environment
Linux x64 server, headless, managed Antigravity CLI 1.5.12, oauth-personal
Logs or stack traces
delegate_task returns error code model_unavailable. Per requireAdvertisedModel, the message has the form Model <id> is not advertised by provider <instance>. <hint>.
@cloudbring Where exactly did you see 'gemini-4-neon-high': in the Settings → Providers → Antigravity model list (a screenshot would help), or as a thread's saved model? On the same server, that list and orchestrator_capabilities come from the same provider model list, so they should not disagree.
Activity
juliusmarminge commentedon Nov 19, 2026
@cloudbring Where exactly did you see 'gemini-4-neon-high': in the Settings → Providers → Antigravity model list (a screenshot would help), or as a thread's saved model? On the same server, that list and orchestrator_capabilities come from the same provider model list, so they should not disagree.