handle anthropic internal server errors
This commit is contained in:
parent
6d191b48ba
commit
88fa9d4852
@ -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…
Reference in New Issue
Block a user