From 54b1560b15baeaf57e67427b9201b59459773a11 Mon Sep 17 00:00:00 2001 From: Sisyphus Date: Sat, 5 Sep 2026 13:26:07 +0800 Subject: [PATCH] style(proxy): format rate limiter --- litellm/proxy/hooks/parallel_request_limiter_v3.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/litellm/proxy/hooks/parallel_request_limiter_v3.py b/litellm/proxy/hooks/parallel_request_limiter_v3.py index 5463821b9a6..278e74a0f74 100644 --- a/litellm/proxy/hooks/parallel_request_limiter_v3.py +++ b/litellm/proxy/hooks/parallel_request_limiter_v3.py @@ -390,6 +390,8 @@ class _AsyncLuaScript(Protocol): """A Lua script registered against the async Redis client, called with KEYS and ARGV.""" def __call__(self, *, keys: Sequence[str], args: Sequence[object]) -> Awaitable[list[CacheCounterValue]]: ... + + WindowKeyType: TypeAlias = Literal["requests", "tokens"]