kopia lustrzana https://github.com/transitive-bullshit/chatgpt-api
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
rodzic
8b24a9e80a
commit
7dfea52545
|
@ -551,6 +551,7 @@ export class ChatGPTAPIBrowser extends AChatGPTAPI {
|
||||||
} else {
|
} else {
|
||||||
await this.refreshSession()
|
await this.refreshSession()
|
||||||
await delay(1000)
|
await delay(1000)
|
||||||
|
result = null
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Ładowanie…
Reference in New Issue