test(test_batch_completions.py): handle overloaded anthropic error

This commit is contained in:
Krrish Dholakia 2024-03-26 13:53:18 -07:00
parent 05fddcb06b
commit a045de8c7c

View file

@ -74,6 +74,8 @@ def test_batch_completion_models_all_responses():
assert len(responses) == 2
except Timeout as e:
pass
except litellm.APIError as e:
pass
except Exception as e:
pytest.fail(f"An error occurred: {e}")