Fix for Failure to Retry request after 403

While loop condition was not being satisfied due to result being set to a value (the OpenAI response), thus the (!result) condition was False.
pull/200/head
Skippy 2022-12-25 10:42:39 +02:00
rodzic 8b24a9e80a
commit 7dfea52545
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -551,6 +551,7 @@ export class ChatGPTAPIBrowser extends AChatGPTAPI {
} else {
await this.refreshSession()
await delay(1000)
result = null
continue
}
} else {