mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-02-03 04:50:52 +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),
|
// For providers that can re-fetch tokens when needed (e.g., Google OAuth),
|
||||||
// we ignore access_token to avoid unnecessary file writes.
|
// we ignore access_token to avoid unnecessary file writes.
|
||||||
switch provider {
|
switch provider {
|
||||||
case "gemini", "gemini-cli":
|
case "gemini", "gemini-cli", "antigravity":
|
||||||
ignoredFields = append(ignoredFields, "access_token")
|
ignoredFields = append(ignoredFields, "access_token")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user