diff --git a/litellm/utils.py b/litellm/utils.py index 035c1c72f..a6d3d8603 100644 --- a/litellm/utils.py +++ b/litellm/utils.py @@ -129,6 +129,7 @@ from .exceptions import ( ServiceUnavailableError, Timeout, UnprocessableEntityError, + UnsupportedParamsError, ) from .proxy._types import KeyManagementSystem from .types.llms.openai import ( @@ -225,17 +226,6 @@ last_fetched_at_keys = None # } -class UnsupportedParamsError(Exception): - def __init__(self, status_code, message): - self.status_code = status_code - self.message = message - self.request = httpx.Request(method="POST", url=" https://openai.api.com/v1/") - self.response = httpx.Response(status_code=status_code, request=self.request) - super().__init__( - self.message - ) # Call the base class constructor with the parameters it needs - - ############################################################ def print_verbose( print_statement,