feat: 调整超时时间
This commit is contained in:
parent
0b8b58f85c
commit
c8745f2e21
|
@ -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 }
|
||||||
|
|
Loading…
Reference in New Issue