From c8745f2e2158e7dc14b2745b253f7324bb1c9a6a Mon Sep 17 00:00:00 2001 From: ChenZhaoYu <790348264@qq.com> Date: Wed, 15 Feb 2023 15:05:57 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E8=B0=83=E6=95=B4=E8=B6=85=E6=97=B6?= =?UTF-8?q?=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- service/src/chatgpt.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/src/chatgpt.ts b/service/src/chatgpt.ts index 5cccee0..1843e73 100644 --- a/service/src/chatgpt.ts +++ b/service/src/chatgpt.ts @@ -27,7 +27,7 @@ async function chatReply( return sendResponse({ type: 'Fail', message: 'Message is empty' }) try { - let options: SendMessageOptions = {} + let options: SendMessageOptions = { timeoutMs: 30 * 1000 } if (lastContext) options = { ...lastContext }