XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet
公开
关注 0 Fork 0 Star 0
返回提交历史

XFEstudio/gpt4free

Fix oauth client id in GemniCLI

7638485c
hlohaus <983577+hlohaus@users.noreply.github.com>
提交于

代码差异

1 个文件 +1 -1
Modified g4f/Provider/needs_auth/GeminiCLI.py +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"