mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-09 03:18:44 +00:00
test: handle fireworks ai instability
This commit is contained in:
parent
e4ac1cdef2
commit
ec52600f98
1 changed files with 4 additions and 0 deletions
|
|
@ -806,6 +806,10 @@ def test_fireworks_embeddings():
|
|||
assert cost > 0.0
|
||||
print(response._hidden_params)
|
||||
assert response._hidden_params["response_cost"] > 0.0
|
||||
except litellm.RateLimitError as e:
|
||||
pass
|
||||
except litellm.InternalServerError as e:
|
||||
pass
|
||||
except Exception as e:
|
||||
pytest.fail(f"Error occurred: {e}")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue