ChatGPTNextWeb / ChatGPTNextWeb/NextChat

[Bug] Claude3 opus 回复大段文字失败

Open
#5,254 5 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
88.8k
Forks
59.1k
PR merge metrics
No merged PRs in 30d

Description

### 📦 部署方式

Docker

### 📌 软件版本

最新

### 💻 系统环境

Ubuntu

### 📌 系统版本

22.04

### 🌐 浏览器

Chrome

### 📌 浏览器版本

116.0

### 🐛 问题描述

第一条开始无法正常回复,
第二条消息开始报错

`{
"type": "error",
"error": {
"type": "invalid_request_error",
"message": "messages: roles must alternate between \"user\" and \"assistant\", but found multiple \"user\" roles in a row"
}
}`

![微信图片_2150726](https://github.com/user-attachments/assets/9ce07a03-3599-45bf-83ae-3c1b60b163d5)

### 📷 复现步骤

如图

### 🚦 期望结果

_No response_

### 📝 补充信息

_No response_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.