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]: Server metrics count Antigravity's default model (Gemini 4 Neon) as "other" #44200
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 and leave the thread on the default model (Gemini 4 Neon).
Send a message and let the run finish.
Look at the modelFamily attribute on the run and turn metrics.
Expected behavior
modelFamily is gemini.
Actual behavior
modelFamily is other.
normalizeModelMetricLabel (apps/server/src/observability/Attributes.ts:34) checks the raw selected model for gpt, claude or gemini. A thread on Antigravity's default stores antigravity-default, which contains none of them, so it falls into other. Neon is Antigravity's default model, so most Neon usage ends up here.
Callers: RunMetrics.ts:69 and ProviderSessionManager.ts:2533.
Suggested fix
Resolve the alias to the real model before bucketing. modelLabel in apps/server/src/telemetry/ProviderDimensions.ts already maps antigravity-default to gemini-4-neon using the provider's model list, so normalizeModelMetricLabel can bucket that result instead of the raw string.
Activity