ChatGPTNextWeb / ChatGPTNextWeb/NextChat

[Bug] 流式输出,消息累加

Open
#5,944 1 comment 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

### 📦 部署方式

官方安装包

### 📌 软件版本

v2.15.8

### 💻 系统环境

macOS

### 📌 系统版本

ios 14

### 🌐 浏览器

Chrome

### 📌 浏览器版本

131

### 🐛 问题描述

流式输出返回的消息是累加的,正常应该是 Hello! How can I assist you today?
现在把每次chunk返回都拼接到一块了。

image

### 📷 复现步骤

1. 下载官方包
2. 配置阿里qwen的key,以及baseurl,这个我本地测试 python openai返回流式是正常的。
3. 提问: hi

### 🚦 期望结果

_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.