diff --git a/litellm/tests/test_completion.py b/litellm/tests/test_completion.py index 31ac792d8e..830b3acd38 100644 --- a/litellm/tests/test_completion.py +++ b/litellm/tests/test_completion.py @@ -2580,6 +2580,8 @@ async def test_completion_replicate_llama3(sync_mode): # Add any assertions here to check the response assert isinstance(response, litellm.ModelResponse) response_format_tests(response=response) + except litellm.APIError as e: + pass except Exception as e: pytest.fail(f"Error occurred: {e}")