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 turns never report observedModel in token analytics #44201
I searched existing issues and did not find a duplicate.
I included enough detail to reproduce or investigate the problem.
Area
apps/server
Steps to reproduce
Use Antigravity with any model, for example Gemini 4 Neon.
Send a message and let the turn finish.
Look at the provider.turn.completed and provider.request.completed events.
Expected behavior
The events include observedModel with the model that ran.
Actual behavior
observedModel is never sent for Antigravity, so its usage shows as unreported.
Analytics takes observedModel from the turn usage's models list (modelObservation, apps/server/src/telemetry/ProviderUsageAnalytics.ts:132). The shared ACP adapter builds that usage in acpPerTurnPromptUsage (packages/provider-acp/src/server/adapter.ts:399) and never sets models.
Suggested fix
Fill models on Antigravity's turn usage with the model that ran. #44189 already reads that model from agy's session transcript, so the fix can reuse it.
agy reports effort-suffixed names (for example gemini-4-neon-low), while the live catalog lists gemini-4-neon. Strip the effort suffix before labeling, or it will be reported as custom:antigravity.
Activity