ChatGPTNextWeb / ChatGPTNextWeb/NextChat
[Bug] 调用deepseek官方的API,但是调用其他公有云API的时候没有这个问题,有时候会报错顺序错误deepseek-reasoner must be a user message, but an assistant message detected
Open
bug
- Dominant language
- TypeScript
- Stars
- 88.8k
- Forks
- 59.1k
- PR merge metrics
- No merged PRs in 30d
Description
### 📦 部署方式
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_
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.