test(test_streaming.py): fix test
This commit is contained in:
parent
f18250df48
commit
b6f094c5ec
@ -503,6 +503,8 @@ def test_completion_mistral_api_stream():
|
||||
if complete_response.strip() == "":
|
||||
raise Exception("Empty response received")
|
||||
print(f"completion_response: {complete_response}")
|
||||
except litellm.APIError as e:
|
||||
pass
|
||||
except Exception as e:
|
||||
pytest.fail(f"Error occurred: {e}")
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user