mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-09 22:31:41 +00:00
handle anthropic internal server errors
This commit is contained in:
parent
27cf31a03c
commit
bf01d4f092
1 changed files with 2 additions and 0 deletions
|
|
@ -497,6 +497,8 @@ def test_completion_claude_3_function_call(model):
|
|||
drop_params=True,
|
||||
)
|
||||
print(second_response)
|
||||
except litellm.InternalServerError:
|
||||
pass
|
||||
except Exception as e:
|
||||
pytest.fail(f"Error occurred: {e}")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue