mirror of
https://github.com/justlovemaki/AIClient-2-API.git
synced 2026-04-26 09:55:54 +03:00
[GH-ISSUE #139] gemini-cli-oauth 跟 gemini-antigravity 获取的授权文件都不可用 #112
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/AIClient-2-API-justlovemaki#112
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jorthmb on GitHub (Dec 25, 2025).
Original GitHub issue: https://github.com/justlovemaki/AIClient-2-API/issues/139
gemini-cli-oauth 跟 gemini-antigravity 获取的授权文件都不可用,用其他项目生成gemini-cli-oauth的授权文件上传是正常的
用本项目生成的都是返回500错误
[API] Error calling generateContent: 500 Internal error encountered.
[API] Received 500 server error. Retrying in 1000ms... (attempt 1/3)
[API] Error calling generateContent: 500 Internal error encountered.
[API] Received 500 server error. Retrying in 2000ms... (attempt 2/3)
[API] Error calling generateContent: 500 Internal error encountered.
[API] Received 500 server error. Retrying in 4000ms... (attempt 3/3)
@MichaelPaul0416 commented on GitHub (Dec 25, 2025):
+1, 看了console的报错是[Server] Error during model list processing: Error: Could not discover a valid Google Cloud Project ID.
@justlovemaki commented on GitHub (Dec 25, 2025):
Internal error encountered
要开代理的
@justlovemaki commented on GitHub (Dec 25, 2025):
gemini-cli 有的需要 Google Cloud Project ID.
@jorthmb commented on GitHub (Dec 25, 2025):
用了魔法的,Google Cloud Project ID没地方填写呢
@justlovemaki commented on GitHub (Dec 25, 2025):
#128
@jorthmb commented on GitHub (Dec 25, 2025):
看了一下,是获取到授权token以后,没有获取到project_id,然后提交数据project_id为NULL,造成的500错误
@jorthmb commented on GitHub (Dec 25, 2025):
还有就是gemini-antigravity中设置了Daily Base URL,还是优先使用默认链接,应该是这里的问题
[gemini-core.js] 243
this.baseURL = DEFAULT_ANTIGRAVITY_BASE_URL_DAILY; // 使用通用 GEMINI_BASE_URL 配置
不知道其他的提供商是不是有同样的问题。
@chenychen commented on GitHub (Feb 6, 2026):
怎么解决的啊?