mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 11:43:54 +00:00
test(test_completion.py): handle azure gpt-4 vision internal error
This commit is contained in:
parent
59254cdb45
commit
a7d0f19e6c
1 changed files with 2 additions and 0 deletions
|
@ -301,6 +301,8 @@ def test_completion_azure_gpt4_vision():
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
print(response)
|
print(response)
|
||||||
|
except openai.APIError as e:
|
||||||
|
pass
|
||||||
except openai.APITimeoutError:
|
except openai.APITimeoutError:
|
||||||
print("got a timeout error")
|
print("got a timeout error")
|
||||||
pass
|
pass
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue