mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 11:14:04 +00:00
test(test_router.py): handle azure api instability
This commit is contained in:
parent
a2fd8459fc
commit
826bb125e8
1 changed files with 2 additions and 0 deletions
|
@ -1117,6 +1117,8 @@ async def test_aimg_gen_on_router():
|
|||
assert len(response.data) > 0
|
||||
|
||||
router.reset()
|
||||
except litellm.InternalServerError as e:
|
||||
pass
|
||||
except Exception as e:
|
||||
if "Your task failed as a result of our safety system." in str(e):
|
||||
pass
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue