Skip to content

Commit

Permalink
test(test_streaming.py): fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
krrishdholakia committed Mar 19, 2024
1 parent f18250d commit b6f094c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions litellm/tests/test_streaming.py
Expand Up @@ -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}")

Expand Down

0 comments on commit b6f094c

Please sign in to comment.