From afb6fbefdc3706e25991b184b418d0522e5dfa79 Mon Sep 17 00:00:00 2001 From: vivek varikuti <69627205+vivekvar-dl@users.noreply.github.com> Date: Tue, 17 Mar 2026 02:38:48 +0530 Subject: [PATCH] Add return type hint to forward_headers_from_request method (#23693) - Added missing Dict return type annotation to improve type safety - Enhances IDE autocomplete and static type checking - No functional changes, purely type annotation improvement Co-authored-by: Vivek Vardhan --- 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.