From 4e6a238820b0bc29524ec003d11cd65ecb5fb1fb Mon Sep 17 00:00:00 2001 From: ishaan-jaff Date: Mon, 15 Jan 2024 17:07:49 -0800 Subject: [PATCH] (test) hf currently loading error --- litellm/tests/test_text_completion.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/litellm/tests/test_text_completion.py b/litellm/tests/test_text_completion.py index abf76acde2..0b98111839 100644 --- a/litellm/tests/test_text_completion.py +++ b/litellm/tests/test_text_completion.py @@ -2833,8 +2833,9 @@ def test_completion_hf_prompt_array(): assert len(response.choices) == 2 # response_str = response["choices"][0]["text"] except Exception as e: + print(str(e)) if "is currently loading" in str(e): - pass + return pytest.fail(f"Error occurred: {e}")