fix: update antigravity user-agent version to 1.19.6

Update the default user-agent version from 1.18.4 to 1.19.6
to match the latest official antigravity client.
This commit is contained in:
erio
2026-02-27 12:31:51 +08:00
parent 29759721e0
commit afec747d9e
2 changed files with 3 additions and 3 deletions

View File

@@ -690,7 +690,7 @@ func TestConstants_值正确(t *testing.T) {
if RedirectURI != "http://localhost:8085/callback" {
t.Errorf("RedirectURI 不匹配: got %s", RedirectURI)
}
if GetUserAgent() != "antigravity/1.18.4 windows/amd64" {
if GetUserAgent() != "antigravity/1.19.6 windows/amd64" {
t.Errorf("UserAgent 不匹配: got %s", GetUserAgent())
}
if SessionTTL != 30*time.Minute {