mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-10 22:41:41 +00:00
test(test_completion.py): fix test
This commit is contained in:
parent
d2d57ecf1c
commit
66565f96b1
1 changed files with 2 additions and 0 deletions
|
|
@ -44,6 +44,8 @@ def test_completion_custom_provider_model_name():
|
|||
# Add any assertions here to check the, response
|
||||
print(response)
|
||||
print(response["choices"][0]["finish_reason"])
|
||||
except litellm.Timeout as e:
|
||||
pass
|
||||
except Exception as e:
|
||||
pytest.fail(f"Error occurred: {e}")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue