Skip to content

antigravityUserAgent

function antigravityUserAgent(model): string;

Defined in: core/src/providers/gemini.ts:99

The User-Agent Cloud Code Assist expects for a model: gemini-4-argon is served to the Antigravity CLI, every other model to the IDE. Exported for hosts that cannot set the header on fetch (Chromium ignores it) and stamp it another way.

Parameter Type
model string

string