mirror of
https://github.com/aljazceru/dev-gpt.git
synced 2025-12-19 22:54:21 +01:00
🏃 fix: run function
This commit is contained in:
@@ -77,7 +77,7 @@ class GPTSession:
|
||||
}]
|
||||
)
|
||||
break
|
||||
except RateLimitError:
|
||||
except (RateLimitError, openai.error.APIError):
|
||||
sleep(1)
|
||||
continue
|
||||
return True
|
||||
|
||||
Reference in New Issue
Block a user