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 <noreply@anthropic.com>
This commit is contained in:
Yujong Lee 2026-11-05 04:46:54 +09:00
parent 3d1f361904
commit 46215f8863

View file

@ -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"
)
}
)