Skip to content

[Bug]: Server metrics count Antigravity's default model (Gemini 4 Neon) as "other" #44200

Done

Description

@thisisdkyadav

Before submitting

  • 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

  1. Use Antigravity and leave the thread on the default model (Gemini 4 Neon).
  2. Send a message and let the run finish.
  3. 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.

Related

Impact

Minor bug or occasional failure

Version or commit

v0.1.13, v0.1.14-nightly.20261127.5332, main @ 91bbd5f

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions