From 071a70c5fcbc8bcb64b62bbb790d314fbbe82638 Mon Sep 17 00:00:00 2001 From: Krrish Dholakia Date: Mon, 13 May 2024 19:01:19 -0700 Subject: [PATCH] test: fix watsonx api error --- litellm/tests/test_completion.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/litellm/tests/test_completion.py b/litellm/tests/test_completion.py index 5ee2961979..aa0baa2b41 100644 --- a/litellm/tests/test_completion.py +++ b/litellm/tests/test_completion.py @@ -3363,6 +3363,8 @@ def test_completion_stream_watsonx(): print(chunk) except litellm.APIError as e: pass + except litellm.RateLimitError as e: + pass except Exception as e: pytest.fail(f"Error occurred: {e}")