Skip to content

Commit

Permalink
(test) fix - skip HF is currently loading exception
Browse files Browse the repository at this point in the history
  • Loading branch information
ishaan-jaff committed Jan 9, 2024
1 parent f2b2750 commit b5f9f05
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions litellm/tests/test_text_completion.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}")


Expand Down

0 comments on commit b5f9f05

Please sign in to comment.