mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 21:37:11 +00:00
fix: 修复未知原因ws超时部分信息仍然没有拿到的问题
This commit is contained in:
parent
7910110a6f
commit
da04370ff5
1 changed files with 2 additions and 2 deletions
|
|
@ -320,7 +320,7 @@ export default class SydneyAIClient {
|
|||
this.cleanupWebSocketConnection(ws)
|
||||
if (replySoFar) {
|
||||
resolve({
|
||||
message
|
||||
message: replySoFar
|
||||
})
|
||||
} else {
|
||||
reject(new Error('Timed out waiting for response. Try enabling debug mode to see more information.'))
|
||||
|
|
@ -333,7 +333,7 @@ export default class SydneyAIClient {
|
|||
this.cleanupWebSocketConnection(ws)
|
||||
if (replySoFar) {
|
||||
resolve({
|
||||
message
|
||||
message: replySoFar
|
||||
})
|
||||
} else {
|
||||
reject('Request aborted')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue