Skip to content

LLM log usage badge mislabels Antigravity window quotas as a Gemini model variant #2947

Closed

Description

@integry

Antigravity reports its quota windows with keys such as Gemini · Weekly Limit Remaining and Gemini · Five Hour Limit Remaining. In the LLM log, humanizeMetricKey in propr-ui/src/components/ui/UsageBadge.tsx treats any key that starts with gemini as a model name and passes it to formatGeminiModelVariant. The badge then reads · Weekly Limit Remaining +1.5%: the provider name is dropped and a stray · leads the label.

Expected: a window label like the sidebar's, for example Gemini · Weekly (or Gemini weekly), next to the percentage.

Notes

  • Only treat a key as a Gemini model when it actually looks like one (for example gemini-2.5-flash). Window keys containing · should keep their prefix and drop the Remaining suffix, the same way AgentTankSidebar does.
  • TaskDetails/ContextStrip.tsx and TaskDetails/UsageDisplays.tsx each have their own humanizeMetricKey. Worth sharing one helper so the three surfaces agree.

Seen in the site captures that render the current UI against mock Agent Tank data shaped like production.

🤖 Generated with Claude Code

Activity

  1. propr-dev commented on Oct 10, 2026

    @propr-dev
    Contributor

    🤖 AI processing has started for this issue using claude agent with claude-opus-5-5 model.

    I'll analyze the problem and work on a solution. This may take a few minutes.

    Processing Details:

    • Agent: claude
    • Model: claude-opus-5-5
    • Branch: 2947/claude-opus-5-5-llm-log-usage-badge-misla-20261010-2100-fyu
    • Base Branch: main
    • Worktree: issue-2947-20261010-2100-claude-opus-5-5-fyu

    🔍 Track Task Execution

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions