mirror of
https://github.com/ErlichLiu/DeepClaude.git
synced 2026-04-25 13:15:54 +03:00
[GH-ISSUE #47] 报错:ERROR - 请求处理异常: Constructor parameter should be str #31
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#31
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 @kllsklls on GitHub (Feb 24, 2025).
Original GitHub issue: https://github.com/ErlichLiu/DeepClaude/issues/47
deepseek推理后报错,信息为:
2025-02-25 00:06:52 - DeepClaude - INFO - DeepSeek 推理完成,收集到的推理内容长度:7134
2025-02-25 00:06:52 - DeepClaude - INFO - DeepSeek 任务处理完成,标记结束
2025-02-25 00:06:52 - DeepClaude - INFO - 开始处理 OpenAI 兼容流,使用模型: None
2025-02-25 00:06:52 - DeepClaude - ERROR - 请求处理异常: Constructor parameter should be str
2025-02-25 00:06:52 - DeepClaude - ERROR - Stream chat请求失败: Constructor parameter should be str
2025-02-25 00:06:52 - DeepClaude - ERROR - 处理 OpenAI 兼容流时发生错误: Stream chat请求失败: Constructor parameter should be str
配置中除了CLAUDE_API_KEY和CLAUDE_MODEL还有哪里不对吗
@kllsklls commented on GitHub (Feb 24, 2025):
是不是读到gemini去了,claude没有读到
@GowayLee commented on GitHub (Feb 25, 2025):
看起来像是代码内部的问题,能否提供更多信息(如: 配置文件), 或是复现方法.
@cacity commented on GitHub (Feb 26, 2025):
INFO: 127.0.0.1:6816 - "POST /v1/chat/completions HTTP/1.1" 200 OK
2025-02-26 10:43:44 - DeepClaude - INFO - 开始处理 DeepSeek 流,使用模型:deepseek-r1-250120
2025-02-26 10:43:44 - DeepClaude - INFO - 等待获取 DeepSeek 的推理内容...
2025-02-26 10:44:11 - DeepClaude - INFO - 提取内容信息,推理阶段结束:
2025-02-26 10:44:11 - DeepClaude - INFO - DeepSeek 推理完成,收集到的推理内容长度:1301
2025-02-26 10:44:11 - DeepClaude - INFO - DeepSeek 任务处理完成,标记结束
2025-02-26 10:44:11 - DeepClaude - INFO - 开始处理 OpenAI 兼容流,使用模型: gemini-1.5-pro
2025-02-26 10:44:21 - DeepClaude - ERROR - 请求超时: Connection timeout to host https://generativelanguage.googleapis.com/v1beta/openai/chat/completions
2025-02-26 10:44:21 - DeepClaude - ERROR - Stream chat请求失败: Connection timeout to host https://generativelanguage.googleapis.com/v1beta/openai/chat/completions
2025-02-26 10:44:21 - DeepClaude - ERROR - 处理 OpenAI 兼容流时发生错误: Stream chat请求失败: Connection timeout to host https://generativelanguage.googleapis.com/v1beta/openai/chat/completions
2025-02-26 10:44:21 - DeepClaude - INFO - OpenAI 兼容任务处理完成,标记结束
我也是类似的错误,原来配置是gemini-2.0-pro-exp,我给改成gemini-1.5-pro,是什么原因,我没有claude 3.5 api,是没有claude 3.5的原因吗
@AlterGu commented on GitHub (Mar 4, 2025):
我也遇到了这样的问题,配置的是gemini-2.0-flash-exp,日志输出的是gemini-2.0-flash
@AlterGu commented on GitHub (Mar 4, 2025):
我知道了。初次更新密钥后需要退出页面,使用新密钥重新登录。然后再配置就可以了