File tree Expand file tree Collapse file tree
backend/internal/pkg/antigravity Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ const (
5050)
5151
5252// defaultUserAgentVersion 可通过环境变量 ANTIGRAVITY_USER_AGENT_VERSION 配置,默认 1.20.5
53- var defaultUserAgentVersion = "1.20.5 "
53+ var defaultUserAgentVersion = "1.21.9 "
5454
5555// defaultClientSecret 可通过环境变量 ANTIGRAVITY_OAUTH_CLIENT_SECRET 配置
5656var defaultClientSecret = "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"
Original file line number Diff line number Diff line change @@ -690,7 +690,7 @@ func TestConstants_值正确(t *testing.T) {
690690 if RedirectURI != "http://localhost:8085/callback" {
691691 t .Errorf ("RedirectURI 不匹配: got %s" , RedirectURI )
692692 }
693- if GetUserAgent () != "antigravity/1.20.5 windows/amd64" {
693+ if GetUserAgent () != "antigravity/1.21.9 windows/amd64" {
694694 t .Errorf ("UserAgent 不匹配: got %s" , GetUserAgent ())
695695 }
696696 if SessionTTL != 30 * time .Minute {
You can’t perform that action at this time.
0 commit comments