reading timeout 8s

This commit is contained in:
maojindao55
2025-03-06 13:31:11 +08:00
parent 54c4e34e62
commit 4b967c362f

View File

@@ -284,7 +284,7 @@ const ChatUI = () => {
let buffer = '';
let completeResponse = ''; // 用于跟踪完整的响应
// 添加超时控制
const timeout = 5000; // 5秒超时
const timeout = 8000; // 5秒超时
while (true) {
//console.log("读取中")
const startTime = Date.now();