返回提交历史
Modified
g4f/Provider/needs_auth/GeminiCLI.py
+1
-1
XFEstudio/gpt4free
Fix oauth client id in GemniCLI
7638485c
代码差异
1 个文件
+1
-1
@@ -36,7 +36,7 @@ class AuthManager(AuthFileMixin):
36
36
parent = "GeminiCLI"
37
37
38
38
OAUTH_REFRESH_URL = "https://oauth2.googleapis.com/token"
39
OAUTH_CLIENT_ID = "681255809395" + "-oo8ft2oprdrnp9e3aqf6av3hmdib135j" + " .apps.googleusercontent.com"
39
OAUTH_CLIENT_ID = "681255809395" + "-oo8ft2oprdrnp9e3aqf6av3hmdib135j" + ".apps.googleusercontent.com"
40
40
OAUTH_CLIENT_SECRET = "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"
41
41
TOKEN_BUFFER_TIME = 5 * 60 # seconds, 5 minutes
42
42
KV_TOKEN_KEY = "oauth_token_cache"