[GH-ISSUE #46] 无法调用gemini,连接超时。 #30

Closed
opened 2026-02-27 01:55:54 +03:00 by kerem · 3 comments
Owner

Originally created by @Jack980506 on GitHub (Feb 24, 2025).
Original GitHub issue: https://github.com/ErlichLiu/DeepClaude/issues/46

报错信息如下:
2025-02-24 23:06:11 - DeepClaude - INFO - DeepSeek 推理完成,收集到的推理内容长度:790
2025-02-24 23:06:11 - DeepClaude - INFO - DeepSeek 任务处理完成,标记结束
2025-02-24 23:06:11 - DeepClaude - INFO - 开始处理 OpenAI 兼容流,使用模型: gemini-2.0-pro-exp
2025-02-24 23:06:21 - DeepClaude - ERROR - 请求超时: Connection timeout to host https://generativelanguage.googleapis.com/v1beta/openai/chat/completions
2025-02-24 23:06:21 - DeepClaude - ERROR - Stream chat请求失败: Connection timeout to host https://generativelanguage.googleapis.com/v1beta/openai/chat/completions
2025-02-24 23:06:21 - DeepClaude - ERROR - 处理 OpenAI 兼容流时发生错误: Stream chat请求失败: Connection timeout to host https://generativelanguage.googleapis.com/v1beta/openai/chat/completions

请问是需要添加代理还是url错误?gemini的api 文档给的URL也试过,同样错误。

Originally created by @Jack980506 on GitHub (Feb 24, 2025). Original GitHub issue: https://github.com/ErlichLiu/DeepClaude/issues/46 报错信息如下: 2025-02-24 23:06:11 - DeepClaude - INFO - DeepSeek 推理完成,收集到的推理内容长度:790 2025-02-24 23:06:11 - DeepClaude - INFO - DeepSeek 任务处理完成,标记结束 2025-02-24 23:06:11 - DeepClaude - INFO - 开始处理 OpenAI 兼容流,使用模型: gemini-2.0-pro-exp 2025-02-24 23:06:21 - DeepClaude - ERROR - 请求超时: Connection timeout to host https://generativelanguage.googleapis.com/v1beta/openai/chat/completions 2025-02-24 23:06:21 - DeepClaude - ERROR - Stream chat请求失败: Connection timeout to host https://generativelanguage.googleapis.com/v1beta/openai/chat/completions 2025-02-24 23:06:21 - DeepClaude - ERROR - 处理 OpenAI 兼容流时发生错误: Stream chat请求失败: Connection timeout to host https://generativelanguage.googleapis.com/v1beta/openai/chat/completions 请问是需要添加代理还是url错误?gemini的api 文档给的URL也试过,同样错误。
kerem 2026-02-27 01:55:54 +03:00
Author
Owner

@GowayLee commented on GitHub (Feb 25, 2025):

gemini现在的api都很不稳定,因为gemini-2.0-pro-exp中的exp代表实验版本。有概率不出来推理。

<!-- gh-comment-id:2680005548 --> @GowayLee commented on GitHub (Feb 25, 2025): gemini现在的api都很不稳定,因为`gemini-2.0-pro-exp`中的`exp`代表实验版本。有概率不出来推理。
Author
Owner

@Jack980506 commented on GitHub (Feb 25, 2025):

您好,您的邮件已收到,祝您生活愉快

<!-- gh-comment-id:2680006278 --> @Jack980506 commented on GitHub (Feb 25, 2025): 您好,您的邮件已收到,祝您生活愉快
Author
Owner

@GowayLee commented on GitHub (Feb 25, 2025):

Close the issue if there is no more further problem.

<!-- gh-comment-id:2680008263 --> @GowayLee commented on GitHub (Feb 25, 2025): Close the issue if there is no more further problem.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/DeepClaude#30
No description provided.