mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-07 08:26:10 +00:00
(test) fix - skip HF is currently loading exception
This commit is contained in:
parent
f2b27504f3
commit
b5f9f05491
1 changed files with 2 additions and 0 deletions
|
|
@ -2833,6 +2833,8 @@ def test_completion_hf_prompt_array():
|
|||
assert len(response.choices) == 2
|
||||
# response_str = response["choices"][0]["text"]
|
||||
except Exception as e:
|
||||
if "is currently loading" in str(e):
|
||||
pass
|
||||
pytest.fail(f"Error occurred: {e}")
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue