mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-02-02 04:20:50 +08:00
feat(auth): add "antigravity" provider to ignored access_token fields in filestore
This commit is contained in:
@@ -336,7 +336,7 @@ func metadataEqualIgnoringTimestamps(a, b []byte, provider string) bool {
|
||||
// For providers that can re-fetch tokens when needed (e.g., Google OAuth),
|
||||
// we ignore access_token to avoid unnecessary file writes.
|
||||
switch provider {
|
||||
case "gemini", "gemini-cli":
|
||||
case "gemini", "gemini-cli", "antigravity":
|
||||
ignoredFields = append(ignoredFields, "access_token")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user