diff --git a/litellm/main.py b/litellm/main.py index d20896631..6156d9c39 100644 --- a/litellm/main.py +++ b/litellm/main.py @@ -15,7 +15,6 @@ import dotenv, traceback, random, asyncio, time, contextvars from copy import deepcopy import httpx import litellm - from ._logging import verbose_logger from litellm import ( # type: ignore client, diff --git a/litellm/tests/test_completion.py b/litellm/tests/test_completion.py index 13c0d2f96..5ee296197 100644 --- a/litellm/tests/test_completion.py +++ b/litellm/tests/test_completion.py @@ -3427,6 +3427,8 @@ async def test_acompletion_watsonx(): ) # Add any assertions here to check the response print(response) + except litellm.RateLimitError as e: + pass except Exception as e: pytest.fail(f"Error occurred: {e}")