From d1d5019c2da2f7e5b6c9564b8d9cd73022e4f554 Mon Sep 17 00:00:00 2001 From: maojindao55 Date: Thu, 6 Mar 2025 14:54:24 +0800 Subject: [PATCH] fix timout --- 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 5d39781..7c936a5 100644 --- a/src/components/ChatUI.tsx +++ b/src/components/ChatUI.tsx @@ -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();