mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 07:04:45 +00:00
fix(ai,coding-agent): update antigravity gemini 3.1 models and headers
fixes #1761
This commit is contained in:
parent
be66fe65bc
commit
7bd4c45d81
6 changed files with 49 additions and 35 deletions
|
|
@ -49,8 +49,10 @@ type SaveMode = (typeof SAVE_MODES)[number];
|
|||
|
||||
const ANTIGRAVITY_ENDPOINT = "https://daily-cloudcode-pa.sandbox.googleapis.com";
|
||||
|
||||
const DEFAULT_ANTIGRAVITY_VERSION = "1.18.3";
|
||||
|
||||
const ANTIGRAVITY_HEADERS = {
|
||||
"User-Agent": "antigravity/1.15.8 darwin/arm64",
|
||||
"User-Agent": `antigravity/${process.env.PI_AI_ANTIGRAVITY_VERSION || DEFAULT_ANTIGRAVITY_VERSION} darwin/arm64`,
|
||||
"X-Goog-Api-Client": "google-cloud-sdk vscode_cloudshelleditor/0.1",
|
||||
"Client-Metadata": JSON.stringify({
|
||||
ideType: "IDE_UNSPECIFIED",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue