forked from phoenix/litellm-mirror
test: handle anthropic overloaded error
This commit is contained in:
parent
50fe6a639d
commit
2995f3adc2
1 changed files with 2 additions and 0 deletions
|
@ -434,6 +434,8 @@ def test_completion_claude_3():
|
|||
)
|
||||
# Add any assertions, here to check response args
|
||||
print(response)
|
||||
except litellm.InternalServerError as e:
|
||||
pytest.skip(f"InternalServerError - {str(e)}")
|
||||
except Exception as e:
|
||||
pytest.fail(f"Error occurred: {e}")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue