fix(ai): update Antigravity User-Agent to 1.15.8

fixes #1079
This commit is contained in:
Mario Zechner 2026-01-29 23:10:49 +01:00
parent 4edb506df8
commit 52532c7c00
3 changed files with 8 additions and 2 deletions

View file

@ -1,5 +1,11 @@
# Changelog
## [Unreleased]
### Fixed
- Updated Antigravity User-Agent from 1.11.5 to 1.15.8 to fix rejected requests ([#1079](https://github.com/badlogic/pi-mono/issues/1079))
## [0.50.3] - 2026-01-29
### Added

View file

@ -73,7 +73,7 @@ const GEMINI_CLI_HEADERS = {
// Headers for Antigravity (sandbox endpoint) - requires specific User-Agent
const ANTIGRAVITY_HEADERS = {
"User-Agent": "antigravity/1.11.5 darwin/arm64",
"User-Agent": "antigravity/1.15.8 darwin/arm64",
"X-Goog-Api-Client": "google-cloud-sdk vscode_cloudshelleditor/0.1",
"Client-Metadata": JSON.stringify({
ideType: "IDE_UNSPECIFIED",

View file

@ -50,7 +50,7 @@ type SaveMode = (typeof SAVE_MODES)[number];
const ANTIGRAVITY_ENDPOINT = "https://daily-cloudcode-pa.sandbox.googleapis.com";
const ANTIGRAVITY_HEADERS = {
"User-Agent": "antigravity/1.11.5 darwin/arm64",
"User-Agent": "antigravity/1.15.8 darwin/arm64",
"X-Goog-Api-Client": "google-cloud-sdk vscode_cloudshelleditor/0.1",
"Client-Metadata": JSON.stringify({
ideType: "IDE_UNSPECIFIED",