NextChat icon indicating copy to clipboard operation
NextChat copied to clipboard

[Bug] 调用deepseek官方的API,但是调用其他公有云API的时候没有这个问题,有时候会报错顺序错误deepseek-reasoner must be a user message, but an assistant message detected

Open TianRandai111 opened this issue 9 months ago • 3 comments

📦 部署方式

Docker

📌 软件版本

latest

💻 系统环境

Ubuntu

📌 系统版本

24

🌐 浏览器

Chrome

📌 浏览器版本

latest

🐛 问题描述

{ "error": { "message": "The first message (except the system message) of deepseek-reasoner must be a user message, but an assistant message detected.", "type": "invalid_request_error", "param": null, "code": "invalid_request_error" } }

📷 复现步骤

No response

🚦 期望结果

No response

📝 补充信息

No response

TianRandai111 avatar Mar 06 '25 09:03 TianRandai111

我也有这个问题,使用deepseek-reasoner推理,然后qwen-turbo做对话摘要,不过可以通过再发几次次重复的消息继续对话

stephen-zeng avatar Mar 10 '25 13:03 stephen-zeng

请问解决了吗

youtianmeng avatar Apr 11 '25 10:04 youtianmeng

Bot detected the issue body's language is not English, translate it automatically.


Is it solved?

Issues-translate-bot avatar Apr 11 '25 10:04 Issues-translate-bot