Chat2API icon indicating copy to clipboard operation
Chat2API copied to clipboard

[BUG]deepseek回复为空,但是系统未识别到api错误

Open huhaku opened this issue 5 months ago • 1 comments

🐛 Bug Report

问题描述

deepseek回复为空,但是系统未识别到api错误

复现步骤

直接请求deepseek,帐号检测是正常的,但是查看日志模型是返回为空的,工具也报异常

截图 / 日志

这是返回的结果,回答是空的 {"id":"27b1a0ed-d4dc-43c8-94d0-503fa632e67f@","model":"deepseek-v4-flash","object":"chat.completion","choices":[{"index":0,"message":{"role":"assistant","content":""},"finish_reason":"stop"}],"usage":{"prompt_tokens":1,"completion_tokens":1,"total_tokens":2},"created":1781105353}

环境信息

基本信息

项目 值
Chat2API 版本 v1.4.0
操作系统及版本 windows 10
系统架构 x64

相关 Provider 信息

DeepSeek

登进去发现帐号已经被禁用了,这里的状态还是正常的

Image Image

此外,会话能不能设置成强制单会话形式,不要每次都当多会话处理

huhaku avatar Jun 10 '26 15:06 huhaku

z-ai的也有问题,也检测不出来 {"id":"","model":"GLM-5","object":"chat.completion","choices":[{"index":0,"message":{"role":"assistant","content":"\nError: 请刷新页面以更新应用后重试。","reasoning_content":""},"finish_reason":"stop"}],"usage":{"prompt_tokens":1,"completion_tokens":1,"total_tokens":2},"created":1781107968}

huhaku avatar Jun 10 '26 16:06 huhaku