Skip to content

fix(antigravity): bump default client version for Gemini quota pool - #137

Merged
bernardopg merged 6 commits into
mainfrom
fix/issue-133-antigravity-client-version
Nov 22, 2026
Merged

bernardopg merged 6 commits into
mainfrom
fix/issue-133-antigravity-client-version

Conversation

@bernardopg

Copy link
Copy Markdown
Owner

Summary

  • Default Antigravity client version to 2.6.0 (configurable via ANTIGRAVITY_CLIENT_VERSION).
  • Derive the default User-Agent from that version and send the same version in X-Client-Version.
  • Add regression coverage asserting the cloud request headers and version override.

Root cause

The cloud retrieveUserQuotaSummary endpoint gates the Gemini Models quota pool on client 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.

Test plan

  • bash tests/test-antigravity-live.sh
  • bash -n providers/native/antigravity.bash providers/get-provider-usage
  • shellcheck -S warning providers/native/antigravity.bash

Fixes #133

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]>
@github-actions github-actions Bot added documentation Improvements or additions to documentation area:providers Provider adapters (providers/) area:ci CI, workflows, tooling labels Nov 22, 2026
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
@bernardopg
bernardopg merged commit b3f4093 into main Nov 22, 2026
20 checks passed
@bernardopg
bernardopg deleted the fix/issue-133-antigravity-client-version branch November 22, 2026 05:19
@bernardopg bernardopg mentioned this pull request Nov 22, 2026
4 of 7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:ci CI, workflows, tooling area:providers Provider adapters (providers/) documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Antigravity cloud endpoint omits Gemini Models quota pool due to outdated User-Agent (2.1.1)

1 participant