mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-06 08:16:43 +00:00
test: handle predibase api failures
This commit is contained in:
parent
e1696bf426
commit
83f638100e
1 changed files with 2 additions and 0 deletions
|
|
@ -273,6 +273,8 @@ async def test_completion_predibase():
|
|||
print(response)
|
||||
except litellm.Timeout as e:
|
||||
pass
|
||||
except litellm.ServiceUnavailableError as e:
|
||||
pass
|
||||
except Exception as e:
|
||||
pytest.fail(f"Error occurred: {e}")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue