forked from phoenix/litellm-mirror
test(test_completion.py): handle anthropic internal server error
This commit is contained in:
parent
6b6775f68e
commit
10ef40faae
1 changed files with 2 additions and 0 deletions
|
@ -151,6 +151,8 @@ def test_completion_claude_3_function_call():
|
|||
assert isinstance(
|
||||
response.choices[0].message.tool_calls[0].function.arguments, str
|
||||
)
|
||||
except litellm.ServiceUnavailableError as e:
|
||||
pass
|
||||
except Exception as e:
|
||||
pytest.fail(f"Error occurred: {e}")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue