mirror of
https://github.com/Chanzhaoyu/chatgpt-web.git
synced 2025-07-21 03:44:21 +00:00
feat: 调整超时时间
This commit is contained in:
@@ -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 }
|
||||||
|
Reference in New Issue
Block a user