mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-10 03:28:53 +00:00
test: api error handling
This commit is contained in:
parent
7d67096756
commit
5d59fa166c
1 changed files with 2 additions and 0 deletions
|
|
@ -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}")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue