fix: bump antigravity User-Agent header version (#2901)

resolves #2815

Co-authored-by: Mario Zechner <badlogicgames@gmail.com>
This commit is contained in:
Aadish Verma
2026-04-08 18:10:05 -07:00
committed by GitHub
parent f05f4e8a5f
commit 4f7fc9de7e
4 changed files with 6 additions and 2 deletions

View File

@@ -4,6 +4,7 @@
### Fixed
- Bumped default Antigravity User-Agent version to `1.21.9` ([#2901](https://github.com/badlogic/pi-mono/pull/2901) by [@aadishv](https://github.com/aadishv))
- Fixed thinking levels for Gemma 4 models to use `thinkingLevel` and map Pi reasoning levels to the model's supported thinking levels ([#2903](https://github.com/badlogic/pi-mono/pull/2903) by [@aadishv](https://github.com/aadishv))
## [0.66.1] - 2026-04-08

View File

@@ -77,7 +77,7 @@ const GEMINI_CLI_HEADERS = {
};
// Headers for Antigravity (sandbox endpoint) - requires specific User-Agent
const DEFAULT_ANTIGRAVITY_VERSION = "1.18.4";
const DEFAULT_ANTIGRAVITY_VERSION = "1.21.9";
function getAntigravityHeaders() {
const version = process.env.PI_AI_ANTIGRAVITY_VERSION || DEFAULT_ANTIGRAVITY_VERSION;