mirror of
https://github.com/ErlichLiu/DeepClaude.git
synced 2026-04-25 05:05:57 +03:00
[GH-ISSUE #58] 官方的gemini api连接超时 #35
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/DeepClaude#35
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 @socialismbuilder on GitHub (Feb 27, 2025).
Original GitHub issue: https://github.com/ErlichLiu/DeepClaude/issues/58
Originally assigned to: @ErlichLiu on GitHub.
有代理,但是连接超时,不知道为什么。
模型名称
gemini-2.0-flash-thinking-exp-01-21
gemini-2.0-flash
model/gemini-2.0-flash等
官方复制的以及排列组合试了几个,依然连接超时,而且clash的连接界面捕获不到。
@GowayLee commented on GitHub (Feb 27, 2025):
@ErlichLiu 好像很多报告Google API Timeout的(Duplicate #46 ), 有可能是
base_url出问题或者是请求兼容出问题了@socialismbuilder commented on GitHub (Feb 27, 2025):
我查了一下谷歌
curl "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.0-flash:generateContent?key=YOUR_API_KEY"
官方提供的api是这样的,不兼容openai格式。
curl generativelanguage.googleapis.com/v1beta/openai/chat/completions没有任何反应,可能是官方取消了openai兼容
clash tun模式+全局模式没有捕获到请求,也ping不通,可能已经没有了。
希望对你修改有帮助
@minghuayao81 commented on GitHub (Mar 5, 2025):
请参考 #68 的解决方案