From 46215f8863f3a2dba1b22d7723963af2ebf856d2 Mon Sep 17 00:00:00 2001 From: Yujong Lee Date: Thu, 5 Nov 2026 04:46:54 +0900 Subject: [PATCH] fix(rust-bridge): say which network settings Rust honors in the client= warning Rust does read litellm.ssl_verify, litellm.ssl_certificate and the proxy and SSL environment variables, so the warning points callers at those instead of saying Rust uses its own HTTP settings. Co-Authored-By: Claude Opus 5.5 --- litellm/rust_bridge/deprecated_arguments.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/litellm/rust_bridge/deprecated_arguments.py b/litellm/rust_bridge/deprecated_arguments.py index 2495f2d1ecb..89073cd28ef 100644 --- a/litellm/rust_bridge/deprecated_arguments.py +++ b/litellm/rust_bridge/deprecated_arguments.py @@ -12,7 +12,11 @@ _LITELLM_ROOT: Final = f"{Path(__file__).parents[1]}{os.sep}" _DEPRECATED: Final = MappingProxyType( { - "client": "client= is deprecated: litellm is moving requests to Rust, which ignores it and uses its own HTTP settings" + "client": ( + "client= is deprecated: litellm is moving requests to Rust, which cannot use a caller's HTTP client. " + "Set network options with litellm.ssl_verify, litellm.ssl_certificate, or proxy and SSL environment " + "variables instead" + ) } )