mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 03:34:10 +00:00
fix(utils.py): fix azure exception mapping
This commit is contained in:
parent
0ab8b764cc
commit
71ee4524c5
2 changed files with 18 additions and 0 deletions
|
@ -279,6 +279,9 @@ def test_completion_azure_gpt4_vision():
|
|||
except openai.RateLimitError as e:
|
||||
print("got a rate liimt error", e)
|
||||
pass
|
||||
except openai.APIStatusError as e:
|
||||
print("got an api status error", e)
|
||||
pass
|
||||
except Exception as e:
|
||||
pytest.fail(f"Error occurred: {e}")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue