From 4b967c362fa6d7c5200c3acd9546a4191c1536a3 Mon Sep 17 00:00:00 2001 From: maojindao55 Date: Thu, 6 Mar 2025 13:31:11 +0800 Subject: [PATCH] reading timeout 8s --- src/components/ChatUI.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ChatUI.tsx b/src/components/ChatUI.tsx index d900908..5d39781 100644 --- a/src/components/ChatUI.tsx +++ b/src/components/ChatUI.tsx @@ -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();