update
This commit is contained in:
parent
bcbbd4765d
commit
06501eccc9
@ -1,2 +1,2 @@
|
|||||||
__version__ = "3.2.7"
|
__version__ = "3.2.8"
|
||||||
|
|
||||||
|
@ -723,7 +723,7 @@ Users will typically use words like verify, check, make sure, or similar to refe
|
|||||||
try:
|
try:
|
||||||
myfunction = function(*args)
|
myfunction = function(*args)
|
||||||
break
|
break
|
||||||
except (openai.error.APIConnectionError, openai.error.RateLimitError):
|
except:
|
||||||
wait_time = backoff_num * (2 ** retries)
|
wait_time = backoff_num * (2 ** retries)
|
||||||
time.sleep(wait_time)
|
time.sleep(wait_time)
|
||||||
retries += 1
|
retries += 1
|
||||||
|
Loading…
Reference in New Issue
Block a user