Repository navigation
fix(antigravity): bump default client version for Gemini quota pool - #137
Merged
Merged
Conversation
The cloud retrieveUserQuotaSummary endpoint gates the Gemini Models quota pool on User-Agent version >= 2.6.0. The adapter defaulted to 2.1.1 and hardcoded X-Client-Version 2.1.1, so cloud fallback responses omitted Gemini 5h/Weekly windows. Default ANTIGRAVITY_CLIENT_VERSION to 2.6.0, derive the User-Agent from it, send the same version in X-Client-Version, and keep both overridable. Fixes #133 Signed-off-by: Bernardo Pinto Gomes <[email protected]>
Document ~/.gemini/antigravity-acp/acp_token.json discovery and the ANTIGRAVITY_CLIENT_VERSION default (2.6.0) used for Gemini Models cloud quota gating. Refs #132, #133 Signed-off-by: Bernardo Pinto Gomes <[email protected]>
Signed-off-by: Bernardo Pinto Gomes <[email protected]> # Conflicts: # CHANGELOG.md
Signed-off-by: Bernardo Pinto Gomes <[email protected]> # Conflicts: # CHANGELOG.md
Signed-off-by: Bernardo Pinto Gomes <[email protected]> # Conflicts: # CHANGELOG.md
Signed-off-by: Bernardo Pinto Gomes <[email protected]>
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.
Summary
2.6.0(configurable viaANTIGRAVITY_CLIENT_VERSION).X-Client-Version.Root cause
The cloud
retrieveUserQuotaSummaryendpoint gates the Gemini Models quota pool on client version>= 2.6.0. The adapter defaulted to2.1.1and hardcodedX-Client-Version: 2.1.1, so cloud fallback responses omitted Gemini 5h/Weekly windows.Test plan
bash tests/test-antigravity-live.shbash -n providers/native/antigravity.bash providers/get-provider-usageshellcheck -S warning providers/native/antigravity.bashFixes #133