Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
TianRandai111 opened this issue Mar 6, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@TianRandai111
Copy link

📦 部署方式

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 TianRandai111 added the bug Something isn't working label Mar 6, 2025
@stephen-zeng
Copy link

stephen-zeng commented Mar 10, 2025

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants