From ec07fbbb4b85014c0c51e8ce1577516a3ee8d7d8 Mon Sep 17 00:00:00 2001 From: user <70670632+stuxf@users.noreply.github.com> Date: Thu, 30 Apr 2026 13:20:41 -0700 Subject: [PATCH] chore(providers): keep URL model guard config-only --- litellm/__init__.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/litellm/__init__.py b/litellm/__init__.py index 16ae730384a..b740c228446 100644 --- a/litellm/__init__.py +++ b/litellm/__init__.py @@ -280,9 +280,7 @@ ssl_security_level: Optional[str] = None ssl_certificate: Optional[str] = None user_url_validation: bool = True user_url_allowed_hosts: List[str] = [] -reject_url_model_destinations: bool = os.getenv( - "LITELLM_REJECT_URL_MODEL_DESTINATIONS", "true" -).lower() not in ("false", "0") +reject_url_model_destinations: bool = True ssl_ecdh_curve: Optional[str] = ( None # Set to 'X25519' to disable PQC and improve performance )