Repository navigation
Conversation
Each quota fetcher currently produces one report card and always replaces its ID with the fetcher's default ID. Google AI subscriptions divide usage into independent model groups that need separate cards so each group ranks by its own waste and hides shorter windows only when that group's longer window is full. Change-Id: I2bb60257238f1c243f4ec52efa40128d5c8ceeab
Google AI subscriptions (such as Google AI Pro) have no public REST API for subscription quotas and divide usage across independent model groups, each with its own 5-hour and weekly limits. Read usage through the Antigravity CLI (`agy -p /usage --output-format json`) rather than calling undocumented internal endpoints or reading private OAuth token files. Print mode answers `/usage` without running a turn or spending quota. Emit one report card per quota group so each group sorts by its own waste and keeps the existing JSON report schema unchanged. Watch stderr and cancel immediately when the CLI asks for interactive login so an unsigned-in installation is omitted without waiting for a timeout. Change-Id: I7c044aaca09344884fa7e3f9c162fd356dfe1d8f
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.