From a7d0f19e6ce2fb43f1c17123f1e13f19739d6629 Mon Sep 17 00:00:00 2001 From: Krrish Dholakia Date: Fri, 16 Feb 2024 13:15:42 -0800 Subject: [PATCH] test(test_completion.py): handle azure gpt-4 vision internal error --- litellm/tests/test_completion.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/litellm/tests/test_completion.py b/litellm/tests/test_completion.py index d102be25d3..475364bfa0 100644 --- a/litellm/tests/test_completion.py +++ b/litellm/tests/test_completion.py @@ -301,6 +301,8 @@ def test_completion_azure_gpt4_vision(): ], ) print(response) + except openai.APIError as e: + pass except openai.APITimeoutError: print("got a timeout error") pass