mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-24 00:28:32 +00:00
test: update test to handle rate limit error
This commit is contained in:
@@ -207,6 +207,8 @@ def test_image_generation_azure_dall_e_3():
|
||||
pass # OpenAI randomly raises these errors - skip when they occur
|
||||
except litellm.InternalServerError:
|
||||
pass
|
||||
except litellm.RateLimitError as e:
|
||||
pass
|
||||
except Exception as e:
|
||||
if "Your task failed as a result of our safety system." in str(e):
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user