DeepClaude icon indicating copy to clipboard operation
DeepClaude copied to clipboard

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

Open fmzpoiuy opened this issue 1 year ago • 22 comments

提交前确认

  • [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源 魔塔社区

fmzpoiuy avatar Mar 13 '25 16:03 fmzpoiuy

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

KingPollux avatar Mar 13 '25 16:03 KingPollux

使用cherry studio遇到同样的问题

responsewrite avatar Mar 14 '25 00:03 responsewrite

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

GowayLee avatar Mar 14 '25 01:03 GowayLee

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

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 任务处理完成,标记结束

redjumper avatar Mar 14 '25 03:03 redjumper

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 任务处理完成,标记结束

没啥有用信息 老样子

fmzpoiuy avatar Mar 14 '25 06:03 fmzpoiuy

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

responsewrite avatar Mar 14 '25 07:03 responsewrite

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

78e3cc33aeabed5b21ba2856d7a0f702f81db0bc这个版本有问题吗

redjumper avatar Mar 14 '25 07:03 redjumper

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

78e3cc33aeabed5b21ba2856d7a0f702f81db0bc这个版本有问题吗

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

responsewrite avatar Mar 14 '25 08:03 responsewrite

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

78e3cc33aeabed5b21ba2856d7a0f702f81db0bc这个版本有问题吗

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

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

fmzpoiuy avatar Mar 14 '25 09:03 fmzpoiuy

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

78e3cc33aeabed5b21ba2856d7a0f702f81db0bc这个版本有问题吗

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

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

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

responsewrite avatar Mar 14 '25 10:03 responsewrite

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

78e3cc33aeabed5b21ba2856d7a0f702f81db0bc 这个版本有问题吗

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

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

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

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

zjhr avatar Mar 17 '25 03:03 zjhr

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

78e3cc33aeabed5b21ba2856d7a0f702f81db0bc这个版本有问题吗

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

cup319 avatar Mar 17 '25 05:03 cup319

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

ErlichLiu avatar Mar 22 '25 13:03 ErlichLiu

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

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

Image

responsewrite avatar Mar 22 '25 15:03 responsewrite

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

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

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

改以前版本后就好了。

cup319 avatar Mar 23 '25 00:03 cup319

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

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

redjumper avatar Mar 24 '25 08:03 redjumper

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

BarnettZhou avatar Apr 01 '25 08:04 BarnettZhou

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

xiangmule avatar Apr 01 '25 13:04 xiangmule

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

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

KingPollux avatar Apr 03 '25 17:04 KingPollux

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

xiangmule avatar Apr 05 '25 01:04 xiangmule