fix antigravity client agent headers

This commit is contained in:
sususu98
2026-04-24 23:14:30 +08:00
parent e78d45acc9
commit 0e1235122e
4 changed files with 13 additions and 14 deletions
+3 -6
View File
@@ -21,14 +21,11 @@ var Scopes = []string{
const (
TokenEndpoint = "https://oauth2.googleapis.com/token"
AuthEndpoint = "https://accounts.google.com/o/oauth2/v2/auth"
UserInfoEndpoint = "https://www.googleapis.com/oauth2/v1/userinfo?alt=json"
UserInfoEndpoint = "https://www.googleapis.com/oauth2/v2/userinfo?alt=json"
)
// Antigravity API configuration
const (
APIEndpoint = "https://cloudcode-pa.googleapis.com"
APIVersion = "v1internal"
APIUserAgent = "google-api-nodejs-client/9.15.1"
APIClient = "google-cloud-sdk vscode_cloudshelleditor/0.1"
ClientMetadata = `{"ideType":"IDE_UNSPECIFIED","platform":"PLATFORM_UNSPECIFIED","pluginType":"GEMINI"}`
APIEndpoint = "https://cloudcode-pa.googleapis.com"
APIVersion = "v1internal"
)