fix timout

This commit is contained in:
maojindao55
2025-03-06 14:54:24 +08:00
parent 4b967c362f
commit d1d5019c2d

View File

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