diff --git a/tests/llm_translation/base_llm_unit_tests.py b/tests/llm_translation/base_llm_unit_tests.py index ffdcd1b79ff..d4d0cbdf218 100644 --- a/tests/llm_translation/base_llm_unit_tests.py +++ b/tests/llm_translation/base_llm_unit_tests.py @@ -910,6 +910,10 @@ class BaseLLMChatTest(ABC): ) except litellm.InternalServerError: pytest.skip("Model is overloaded") + except litellm.BadRequestError: + if "http://" in image_url: + pytest.skip("Model does not support http:// image URLs") + raise assert response is not None