Repository navigation
fix(antigravity): show the merged Gemini pool when it mentions Argon - #233
Open
Hugo-Polloli wants to merge 1 commit into
Open
Hugo-Polloli wants to merge 1 commit into
Hugo-Polloli wants to merge 1 commit into
Conversation
Google now reports Gemini as one "Gemini Models" group (buckets gemini-5h and gemini-weekly) whose text names Argon among its models. The summary parser skips any group mentioning Argon as the separate Gemini 4 Argon pool, so the only Gemini group was dropped and the taskbar showed "--" for session and weekly while limits[] still held the values. Keep such a group as a fallback for the main pool when no other Gemini group answers and its bucket ids are generic gemini-* without "argon". A real Argon pool names Argon in its bucket ids, so the existing rule that Argon never fills the main pool still holds. Fixes CodeZeno#231 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Author
Contributor
|
Verified this fix locally on Windows 11 with v2.25.3 ( Before the patch, I was hitting #231: Checks run locally with this PR applied:
|
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.
Fixes #231.
Problem
Since about 21 Nov, the Antigravity quota summary reports Gemini as a single group, "Gemini Models", with buckets
gemini-5handgemini-weekly. Its text names Argon among the models in the pool.antigravity_usage_from_summaryskips every group for whichis_antigravity_separate_gemini_groupis true, so this, the only Gemini group, is dropped.data.antigravity_gemini.sessionand.weeklystay unavailable and the taskbar shows--, whilelimits[]still carries the right values (as the issue shows).I matched this from the
usage-cache.jsonshape, not a captured raw response: display name "Gemini Models", bucket idsgemini-5h/gemini-weekly, Claude and GPT pool still filled. With no "argon" in the display name or bucket ids, the description (or a bucket display name) has to be what mentions Argon.Change
While skipping a separate Argon group, remember it as a fallback for the main Gemini pool when its bucket ids are generic
gemini-*ids without "argon". It is used only if no other Gemini group answered. A real Argon pool names Argon in its bucket ids (gemini-4-argon-weekly), soantigravity_argon_never_fills_the_main_pool_without_other_named_poolsstill passes unchanged.Checks
antigravity_merged_gemini_pool_that_mentions_argon_still_shows: fails on main, passes with the change.cargo fmt --all -- --check,cargo test(638 passed),cargo build --releaseon Windows 11.🤖 Generated with Claude Code