test: api error handling

This commit is contained in:
Krrish Dholakia 2024-02-12 09:11:21 -08:00
parent 7d67096756
commit 5d59fa166c

View file

@ -1356,6 +1356,8 @@ def test_completion_together_ai_mixtral():
)
except litellm.Timeout as e:
pass
except litellm.ServiceUnavailableError as e:
pass
except Exception as e:
pytest.fail(f"Error occurred: {e}")