[GH-ISSUE #96] [Bug]: 一直卡在DeepSeek 任务处理完成,标记结束 不进入下一步骤 #65

Open
opened 2026-02-27 01:56:03 +03:00 by kerem · 22 comments
Owner

Originally created by @fmzpoiuy on GitHub (Mar 13, 2025).
Original GitHub issue: https://github.com/ErlichLiu/DeepClaude/issues/96

提交前确认

  • 我已经搜索过现有的 issues,包括已经 close 的 issue,确认没有重复报告同样的问题
  • 我已经阅读了文档,确认这是一个缺陷而不是使用问题
  • 我已经在最新版本中验证了这个问题仍然存在

发生了什么?

2025-03-13 23:02:31 - DeepClaude - INFO - API密钥验证通过
INFO: 127.0.0.1:58813 - "POST /v1/chat/completions HTTP/1.1" 200 OK
2025-03-13 23:02:31 - DeepClaude - INFO - 开始处理 DeepSeek 流,使用模型:deepseek-ai/DeepSeek-R1
2025-03-13 23:02:31 - DeepClaude - INFO - DeepSeek 任务处理完成,标记结束
一直卡在这里,前端用的cherry studio 只显示r1思考过程,但是思考过程结束了 前端也一直卡在 思考中

ds的源用的魔塔社区的猜测是不兼容?

复现步骤

前端cherry studio ds源 魔塔社区

Originally created by @fmzpoiuy on GitHub (Mar 13, 2025). Original GitHub issue: https://github.com/ErlichLiu/DeepClaude/issues/96 ### 提交前确认 - [x] 我已经搜索过现有的 issues,包括已经 close 的 issue,确认没有重复报告同样的问题 - [x] 我已经阅读了文档,确认这是一个缺陷而不是使用问题 - [x] 我已经在最新版本中验证了这个问题仍然存在 ### 发生了什么? 2025-03-13 23:02:31 - DeepClaude - INFO - API密钥验证通过 INFO: 127.0.0.1:58813 - "POST /v1/chat/completions HTTP/1.1" 200 OK 2025-03-13 23:02:31 - DeepClaude - INFO - 开始处理 DeepSeek 流,使用模型:deepseek-ai/DeepSeek-R1 2025-03-13 23:02:31 - DeepClaude - INFO - DeepSeek 任务处理完成,标记结束 一直卡在这里,前端用的cherry studio 只显示r1思考过程,但是思考过程结束了 前端也一直卡在 思考中 ds的源用的魔塔社区的猜测是不兼容? ### 复现步骤 前端cherry studio ds源 魔塔社区
Author
Owner

@KingPollux commented on GitHub (Mar 13, 2025):

Windows,Powershell下运行,我也出现过。在Powershell下按任意键,才会正常开始运行。你试试能解决不

<!-- gh-comment-id:2721927048 --> @KingPollux commented on GitHub (Mar 13, 2025): Windows,Powershell下运行,我也出现过。在Powershell下按任意键,才会正常开始运行。你试试能解决不
Author
Owner

@responsewrite commented on GitHub (Mar 14, 2025):

使用cherry studio遇到同样的问题

<!-- gh-comment-id:2723005547 --> @responsewrite commented on GitHub (Mar 14, 2025): 使用cherry studio遇到同样的问题
Author
Owner

@GowayLee commented on GitHub (Mar 14, 2025):

将日志级别调整为DEBUG, 再试试看记录一下

<!-- gh-comment-id:2723118589 --> @GowayLee commented on GitHub (Mar 14, 2025): 将日志级别调整为DEBUG, 再试试看记录一下
Author
Owner

@redjumper commented on GitHub (Mar 14, 2025):

最新的镜像,同样的问题,和客户端无关,推理处理完成后不继续了。单独调用推理模型和目标模型都没有问题。
日志如下

2025-03-14 02:54:55 - DeepClaude - INFO - 开始请求
INFO: Started server process [1]
INFO: Waiting for application startup.
INFO: Application startup complete.
INFO: Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)
2025-03-14 02:55:02 - DeepClaude - INFO - Loaded API key from config: sk-1
2025-03-14 02:55:02 - DeepClaude - INFO - API密钥验证通过
INFO: 172.18.39.1:37952 - "GET /v1/models HTTP/1.1" 200 OK
2025-03-14 02:55:03 - DeepClaude - INFO - Loaded API key from config: sk-1
2025-03-14 02:55:03 - DeepClaude - INFO - API密钥验证通过
INFO: 172.18.39.1:37968 - "POST /v1/chat/completions HTTP/1.1" 200 OK
2025-03-14 02:55:03 - DeepClaude - INFO - 开始处理 DeepSeek 流,使用模型:deepseek-r1
2025-03-14 02:55:03 - DeepClaude - DEBUG - 开始流式对话:{'model': 'deepseek-r1', 'messages': [{'role': 'user', 'content': '已脱敏'}], 'stream': True, 'max_tokens': 5}
2025-03-14 02:55:03 - DeepClaude - INFO - 等待获取 DeepSeek 的推理内容...
2025-03-14 02:55:03 - DeepClaude - DEBUG - 提取推理内容:好的
2025-03-14 02:55:03 - DeepClaude - DEBUG - 提取推理内容:,
2025-03-14 02:55:03 - DeepClaude - DEBUG - 提取推理内容:我现在
2025-03-14 02:55:03 - DeepClaude - DEBUG - 提取推理内容:需要
2025-03-14 02:55:03 - DeepClaude - DEBUG - 提取推理内容:帮助
2025-03-14 02:55:03 - DeepClaude - INFO - DeepSeek 任务处理完成,标记结束

<!-- gh-comment-id:2723271603 --> @redjumper commented on GitHub (Mar 14, 2025): 最新的镜像,同样的问题,和客户端无关,推理处理完成后不继续了。单独调用推理模型和目标模型都没有问题。 日志如下 > 2025-03-14 02:54:55 - DeepClaude - INFO - 开始请求 > INFO: Started server process [1] > INFO: Waiting for application startup. > INFO: Application startup complete. > INFO: Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit) > 2025-03-14 02:55:02 - DeepClaude - INFO - Loaded API key from config: sk-1 > 2025-03-14 02:55:02 - DeepClaude - INFO - API密钥验证通过 > INFO: 172.18.39.1:37952 - "GET /v1/models HTTP/1.1" 200 OK > 2025-03-14 02:55:03 - DeepClaude - INFO - Loaded API key from config: sk-1 > 2025-03-14 02:55:03 - DeepClaude - INFO - API密钥验证通过 > INFO: 172.18.39.1:37968 - "POST /v1/chat/completions HTTP/1.1" 200 OK > 2025-03-14 02:55:03 - DeepClaude - INFO - 开始处理 DeepSeek 流,使用模型:deepseek-r1 > 2025-03-14 02:55:03 - DeepClaude - DEBUG - 开始流式对话:{'model': 'deepseek-r1', 'messages': [{'role': 'user', 'content': '已脱敏'}], 'stream': True, 'max_tokens': 5} > 2025-03-14 02:55:03 - DeepClaude - INFO - 等待获取 DeepSeek 的推理内容... > 2025-03-14 02:55:03 - DeepClaude - DEBUG - 提取推理内容:好的 > 2025-03-14 02:55:03 - DeepClaude - DEBUG - 提取推理内容:, > 2025-03-14 02:55:03 - DeepClaude - DEBUG - 提取推理内容:我现在 > 2025-03-14 02:55:03 - DeepClaude - DEBUG - 提取推理内容:需要 > 2025-03-14 02:55:03 - DeepClaude - DEBUG - 提取推理内容:帮助 > 2025-03-14 02:55:03 - DeepClaude - INFO - DeepSeek 任务处理完成,标记结束 > >
Author
Owner

@fmzpoiuy commented on GitHub (Mar 14, 2025):

2025-03-14 14:11:05 - DeepClaude - DEBUG - 提取推理内容:悬念
2025-03-14 14:11:05 - DeepClaude - DEBUG - 提取推理内容:。
2025-03-14 14:11:06 - DeepClaude - INFO - DeepSeek 任务处理完成,标记结束

没啥有用信息 老样子

<!-- gh-comment-id:2723744242 --> @fmzpoiuy commented on GitHub (Mar 14, 2025): 2025-03-14 14:11:05 - DeepClaude - DEBUG - 提取推理内容:悬念 2025-03-14 14:11:05 - DeepClaude - DEBUG - 提取推理内容:。 2025-03-14 14:11:06 - DeepClaude - INFO - DeepSeek 任务处理完成,标记结束 没啥有用信息 老样子
Author
Owner

@responsewrite commented on GitHub (Mar 14, 2025):

这个版本(deepclaude:78e3cc33aeabed5b21ba2856d7a0f702f81db0bc)之前的可以正常使用,之后的版本就有问题

<!-- gh-comment-id:2723817830 --> @responsewrite commented on GitHub (Mar 14, 2025): 这个版本(deepclaude:78e3cc33aeabed5b21ba2856d7a0f702f81db0bc)之前的可以正常使用,之后的版本就有问题
Author
Owner

@redjumper commented on GitHub (Mar 14, 2025):

这个版本(deepclaude:78e3cc33aeabed5b21ba2856d7a0f702f81db0bc)之前的可以正常使用,之后的版本就有问题

78e3cc33aeabed5b21ba2856d7a0f702f81db0bc这个版本有问题吗

<!-- gh-comment-id:2723915524 --> @redjumper commented on GitHub (Mar 14, 2025): > 这个版本(deepclaude:78e3cc33aeabed5b21ba2856d7a0f702f81db0bc)之前的可以正常使用,之后的版本就有问题 78e3cc33aeabed5b21ba2856d7a0f702f81db0bc这个版本有问题吗
Author
Owner

@responsewrite commented on GitHub (Mar 14, 2025):

这个版本(deepclaude:78e3cc33aeabed5b21ba2856d7a0f702f81db0bc)之前的可以正常使用,之后的版本就有问题

78e3cc33aeabed5b21ba2856d7a0f702f81db0bc这个版本有问题吗

这个没问题,可以正常使用

<!-- gh-comment-id:2723917312 --> @responsewrite commented on GitHub (Mar 14, 2025): > > 这个版本(deepclaude:78e3cc33aeabed5b21ba2856d7a0f702f81db0bc)之前的可以正常使用,之后的版本就有问题 > > 78e3cc33aeabed5b21ba2856d7a0f702f81db0bc这个版本有问题吗 这个没问题,可以正常使用
Author
Owner

@fmzpoiuy commented on GitHub (Mar 14, 2025):

这个版本(deepclaude:78e3cc33aeabed5b21ba2856d7a0f702f81db0bc)之前的可以正常使用,之后的版本就有问题

78e3cc33aeabed5b21ba2856d7a0f702f81db0bc这个版本有问题吗

这个没问题,可以正常使用

你用的什么api 我换了这个版本还是这个问题

<!-- gh-comment-id:2724185194 --> @fmzpoiuy commented on GitHub (Mar 14, 2025): > > > 这个版本(deepclaude:78e3cc33aeabed5b21ba2856d7a0f702f81db0bc)之前的可以正常使用,之后的版本就有问题 > > > > > > 78e3cc33aeabed5b21ba2856d7a0f702f81db0bc这个版本有问题吗 > > 这个没问题,可以正常使用 你用的什么api 我换了这个版本还是这个问题
Author
Owner

@responsewrite commented on GitHub (Mar 14, 2025):

这个版本(deepclaude:78e3cc33aeabed5b21ba2856d7a0f702f81db0bc)之前的可以正常使用,之后的版本就有问题

78e3cc33aeabed5b21ba2856d7a0f702f81db0bc这个版本有问题吗

这个没问题,可以正常使用

你用的什么api 我换了这个版本还是这个问题

硅基流动r1,Claude是淘宝随便买的

<!-- gh-comment-id:2724305536 --> @responsewrite commented on GitHub (Mar 14, 2025): > > > > 这个版本(deepclaude:78e3cc33aeabed5b21ba2856d7a0f702f81db0bc)之前的可以正常使用,之后的版本就有问题 > > > > > > > > > 78e3cc33aeabed5b21ba2856d7a0f702f81db0bc这个版本有问题吗 > > > > > > 这个没问题,可以正常使用 > > 你用的什么api 我换了这个版本还是这个问题 硅基流动r1,Claude是淘宝随便买的
Author
Owner

@zjhr commented on GitHub (Mar 17, 2025):

这个版本(deepclaude:78e3cc33aeabed5b21ba2856d7a0f702f81db0bc)之前的正常使用,之后的版本可以解决问题

78e3cc33ae 这个版本有问题吗

没这个问题,可以正常使用

你用的什么api 我换了这个版本还是这个问题

硅基流动r1,克劳德是淘宝随便买的

谢谢,这个版本确实不会卡住

<!-- gh-comment-id:2727995733 --> @zjhr commented on GitHub (Mar 17, 2025): > > > > > 这个版本(deepclaude:78e3cc33aeabed5b21ba2856d7a0f702f81db0bc)之前的正常使用,之后的版本可以解决问题 > > > > > > > > > > > > 78e3cc33aeabed5b21ba2856d7a0f702f81db0bc 这个版本有问题吗 > > > > > > > > > 没这个问题,可以正常使用 > > > > > > 你用的什么api 我换了这个版本还是这个问题 > > 硅基流动r1,克劳德是淘宝随便买的 谢谢,这个版本确实不会卡住
Author
Owner

@better319 commented on GitHub (Mar 17, 2025):

这个版本(deepclaude:78e3cc33aeabed5b21ba2856d7a0f702f81db0bc)之前的可以正常使用,之后的版本就有问题

78e3cc33aeabed5b21ba2856d7a0f702f81db0bc这个版本有问题吗

我去试下,我还以为是我的问题

<!-- gh-comment-id:2728245648 --> @better319 commented on GitHub (Mar 17, 2025): > > 这个版本(deepclaude:78e3cc33aeabed5b21ba2856d7a0f702f81db0bc)之前的可以正常使用,之后的版本就有问题 > > 78e3cc33aeabed5b21ba2856d7a0f702f81db0bc这个版本有问题吗 我去试下,我还以为是我的问题
Author
Owner

@ErlichLiu commented on GitHub (Mar 22, 2025):

@better319 @redjumper @zjhr @KingPollux @responsewrite 你们分别在 deepseek 这一段和后半段都使用的那个 api 供应商的呢?以及卡主时在终端会提示错误信息吗?

<!-- gh-comment-id:2745268606 --> @ErlichLiu commented on GitHub (Mar 22, 2025): @better319 @redjumper @zjhr @KingPollux @responsewrite 你们分别在 deepseek 这一段和后半段都使用的那个 api 供应商的呢?以及卡主时在终端会提示错误信息吗?
Author
Owner

@responsewrite commented on GitHub (Mar 22, 2025):

@better319 @redjumper @zjhr @KingPollux @responsewrite 你们分别在 deepseek 这一段和后半段都使用的那个 api 供应商的呢?以及卡主时在终端会提示错误信息吗?

deepseek使用的硅基流动的api,Gemini使用的淘宝买的OPENAI兼容的api。不提示错误,日志如下

Image

<!-- gh-comment-id:2745319698 --> @responsewrite commented on GitHub (Mar 22, 2025): > [@better319](https://github.com/better319) [@redjumper](https://github.com/redjumper) [@zjhr](https://github.com/zjhr) [@KingPollux](https://github.com/KingPollux) [@responsewrite](https://github.com/responsewrite) 你们分别在 deepseek 这一段和后半段都使用的那个 api 供应商的呢?以及卡主时在终端会提示错误信息吗? deepseek使用的硅基流动的api,Gemini使用的淘宝买的OPENAI兼容的api。不提示错误,日志如下 ![Image](https://github.com/user-attachments/assets/01fb5603-a75b-4da1-91d4-06980d55601e)
Author
Owner

@better319 commented on GitHub (Mar 23, 2025):

@better319 @redjumper @zjhr @KingPollux @responsewrite 你们分别在 deepseek 这一段和后半段都使用的那个 api 供应商的呢?以及卡主时在终端会提示错误信息吗?

我用豆包的正常,华为的不正常

如果全部用operouter的免费版本,不正常。

改以前版本后就好了。

<!-- gh-comment-id:2745935483 --> @better319 commented on GitHub (Mar 23, 2025): > @better319 @redjumper @zjhr @KingPollux @responsewrite 你们分别在 deepseek 这一段和后半段都使用的那个 api 供应商的呢?以及卡主时在终端会提示错误信息吗? 我用豆包的正常,华为的不正常 如果全部用operouter的免费版本,不正常。 改以前版本后就好了。
Author
Owner

@redjumper commented on GitHub (Mar 24, 2025):

@better319 @redjumper @zjhr @KingPollux @responsewrite 你们分别在 deepseek 这一段和后半段都使用的那个 api 供应商的呢?以及卡主时在终端会提示错误信息吗?

腾讯云/阿里云的deepseek r1,gemini是google的
现在最新版本正常了,都没有调整过什么

<!-- gh-comment-id:2747328542 --> @redjumper commented on GitHub (Mar 24, 2025): > [@better319](https://github.com/better319) [@redjumper](https://github.com/redjumper) [@zjhr](https://github.com/zjhr) [@KingPollux](https://github.com/KingPollux) [@responsewrite](https://github.com/responsewrite) 你们分别在 deepseek 这一段和后半段都使用的那个 api 供应商的呢?以及卡主时在终端会提示错误信息吗? ~~腾讯云/阿里云的deepseek r1,gemini是google的~~ 现在最新版本正常了,都没有调整过什么
Author
Owner

@BarnettZhou commented on GitHub (Apr 1, 2025):

硅基流动的API会这样,换成阿里云的DeepSeek-R1好像解决了

<!-- gh-comment-id:2768620009 --> @BarnettZhou commented on GitHub (Apr 1, 2025): 硅基流动的API会这样,换成阿里云的DeepSeek-R1好像解决了
Author
Owner

@xiangmule commented on GitHub (Apr 1, 2025):

火山的R1+Gemini-2.0-Flash同样问题

<!-- gh-comment-id:2769381711 --> @xiangmule commented on GitHub (Apr 1, 2025): 火山的R1+Gemini-2.0-Flash同样问题
Author
Owner

@KingPollux commented on GitHub (Apr 3, 2025):

@better319 @redjumper @zjhr @KingPollux @responsewrite 你们分别在 deepseek 这一段和后半段都使用的那个 api 供应商的呢?以及卡主时在终端会提示错误信息吗?

火山的 R1,最近很少发生,我没做任何升级(以题主日期前的版本为主)。大概是R1 的推理结束后,就定住了。解决方法就是在CMD或者Powershell里,按一下任意键。就像戳它一下,它就动了。
并没有出现任何错误信息。只是单纯的推理后顶住,呆萌住了。戳一下就好了。

<!-- gh-comment-id:2776427375 --> @KingPollux commented on GitHub (Apr 3, 2025): > [@better319](https://github.com/better319) [@redjumper](https://github.com/redjumper) [@zjhr](https://github.com/zjhr) [@KingPollux](https://github.com/KingPollux) [@responsewrite](https://github.com/responsewrite) 你们分别在 deepseek 这一段和后半段都使用的那个 api 供应商的呢?以及卡主时在终端会提示错误信息吗? 火山的 R1,最近很少发生,我没做任何升级(以题主日期前的版本为主)。大概是R1 的推理结束后,就定住了。解决方法就是在CMD或者Powershell里,按一下任意键。就像戳它一下,它就动了。 并没有出现任何错误信息。只是单纯的推理后顶住,呆萌住了。戳一下就好了。
Author
Owner

@xiangmule commented on GitHub (Apr 5, 2025):

@ErlichLiu 火山的R1+Gemini-2.0-Flash同样问题

<!-- gh-comment-id:2780042712 --> @xiangmule commented on GitHub (Apr 5, 2025): @ErlichLiu 火山的R1+Gemini-2.0-Flash同样问题
Author
Owner

@better319 commented on GitHub (Apr 25, 2025):

解决了吗?

<!-- gh-comment-id:2829688359 --> @better319 commented on GitHub (Apr 25, 2025): 解决了吗?
Author
Owner

@yihuanlin commented on GitHub (Jul 29, 2025):

Modelscope 的 Qwen/Qwen3-235B-A22B-Thinking-2507 和 ZhipuAI/GLM-4.5 有同样的问题

<!-- gh-comment-id:3133623995 --> @yihuanlin commented on GitHub (Jul 29, 2025): Modelscope 的 Qwen/Qwen3-235B-A22B-Thinking-2507 和 ZhipuAI/GLM-4.5 有同样的问题
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#65
No description provided.