From 4bbd8d0b20bb9f8198cf78c9dfa489863a00487e Mon Sep 17 00:00:00 2001 From: Yannik Korzikowski Date: Wed, 25 Mar 2026 19:28:16 +0800 Subject: [PATCH] Change return type of create_proxy_mount_config Updated the return type of create_proxy_mount_config to dict. --- litellm/llms/custom_httpx/http_handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/llms/custom_httpx/http_handler.py b/litellm/llms/custom_httpx/http_handler.py index 10042a791fb..3437d67bf6f 100644 --- a/litellm/llms/custom_httpx/http_handler.py +++ b/litellm/llms/custom_httpx/http_handler.py @@ -51,7 +51,7 @@ try: except Exception: version = "0.0.0" -def create_proxy_mount_config() -> Optional[dict]: +def create_proxy_mount_config() -> dict: """ Creates the configuration for using httpx with http/https proxy. Returns the dict with proxy options if HTTP_PROXY or/and HTTPS_PROXY environment variable is set. Using http_proxy/https_proxy as fallback.