Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

chore(providers): keep URL model guard config-only

userec07fbbb4b85
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
)