(test) hf currently loading error
This commit is contained in:
parent
58a0b4c03b
commit
4e6a238820
@ -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}")
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user