mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-28 04:04:31 +00:00
test(test_batch_completions.py): handle overloaded anthropic error
This commit is contained in:
parent
05fddcb06b
commit
a045de8c7c
1 changed files with 2 additions and 0 deletions
|
@ -74,6 +74,8 @@ def test_batch_completion_models_all_responses():
|
||||||
assert len(responses) == 2
|
assert len(responses) == 2
|
||||||
except Timeout as e:
|
except Timeout as e:
|
||||||
pass
|
pass
|
||||||
|
except litellm.APIError as e:
|
||||||
|
pass
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
pytest.fail(f"An error occurred: {e}")
|
pytest.fail(f"An error occurred: {e}")
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue