From 0be6b489f2707c0b79ab624ad001d4e2ea1ea5e5 Mon Sep 17 00:00:00 2001 From: Vivek Vardhan Date: Sun, 15 Mar 2026 15:00:43 +0000 Subject: [PATCH] Add return type hint to forward_headers_from_request method - Added missing Dict return type annotation to improve type safety - Enhances IDE autocomplete and static type checking - No functional changes, purely type annotation improvement --- litellm/passthrough/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/passthrough/utils.py b/litellm/passthrough/utils.py index ef4357d1ca2..7c2bd4b2ac1 100644 --- a/litellm/passthrough/utils.py +++ b/litellm/passthrough/utils.py @@ -40,7 +40,7 @@ class BasePassthroughUtils: request_headers: dict, headers: dict, forward_headers: Optional[bool] = False, - ): + ) -> dict: """ Helper to forward headers from original request.