diff --git a/litellm/exceptions.py b/litellm/exceptions.py index df77c2c8f91..eb5437a9121 100644 --- a/litellm/exceptions.py +++ b/litellm/exceptions.py @@ -238,7 +238,7 @@ class OpenRouterRegionNotSupportedError(NotFoundError): max_retries: int | None = None, num_retries: int | None = None, region: str | None = None, - ): + ) -> None: self.region = region super().__init__( message=message, diff --git a/litellm/llms/openrouter/chat/transformation.py b/litellm/llms/openrouter/chat/transformation.py index 49c429cdfc7..61d527b6e48 100644 --- a/litellm/llms/openrouter/chat/transformation.py +++ b/litellm/llms/openrouter/chat/transformation.py @@ -52,8 +52,8 @@ class OpenrouterConfig(OpenAIGPTConfig): def __init__( self, region: str | None = None, - **kwargs, - ): + **kwargs: object, + ) -> None: self.region = region super().__init__(**kwargs)