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 }