ChatGPTNextWeb / ChatGPTNextWeb/NextChat

[Bug] deepseek复杂问题深度思考时会超时

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

Description

### 📦 部署方式

Docker

### 📌 软件版本

main(commit: add9ca20)

### 💻 系统环境

Ubuntu

### 📌 系统版本

22.04

### 🌐 浏览器

Chrome

### 📌 浏览器版本

132.0.6834.160(正式版本) (arm64)

### 🐛 问题描述

app/constant.ts中定义了REQUEST_TIMEOUT_MS为一分钟,deepseek在深度思考时很容易超过一分钟,然后在token输出过程中突然中断对话,日志出现报错
```
Error: aborted
at connResetException (node:internal/errors:720:14)
at abortIncoming (node:_http_server:781:17)
at socketOnClose (node:_http_server:775:3)
at Socket.emit (node:events:529:35)
at TCP. (node:net:350:12)
at TCP.callbackTrampoline (node:internal/async_hooks:128:17) {
code: 'ECONNRESET'
}
```

### 📷 复现步骤

使用deepseek R1模型,问一个比较复杂的问题,对话会被中断,出现ECONNRESET。测试了provider为DeepSeek和SiliconFlow都必定复现

### 🚦 期望结果

希望正常输出对话信息不中断

### 📝 补充信息

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