feat: 调整超时时间

This commit is contained in:
ChenZhaoYu 2023-02-15 15:05:57 +08:00
parent 0b8b58f85c
commit c8745f2e21
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ async function chatReply(
return sendResponse({ type: 'Fail', message: 'Message is empty' }) return sendResponse({ type: 'Fail', message: 'Message is empty' })
try { try {
let options: SendMessageOptions = {} let options: SendMessageOptions = { timeoutMs: 30 * 1000 }
if (lastContext) if (lastContext)
options = { ...lastContext } options = { ...lastContext }