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]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
feat: add disable_default_user_agent flag
jayy-77fe184936ff1f
diff --git a/litellm/__init__.py b/litellm/__init__.pyindex e5c09702b9b..5998032b8e8 100644--- a/litellm/__init__.py+++ b/litellm/__init__.py@@ -254,6 +254,7 @@ disable_streaming_logging: bool = Falsedisable_token_counter: bool = Falsedisable_add_transform_inline_image_block: bool = Falsedisable_add_user_agent_to_request_tags: bool = False+disable_default_user_agent: bool = False # Option to disable automatic User-Agent header injectionextra_spend_tag_headers: Optional[List[str]] = Nonein_memory_llm_clients_cache: "LLMClientCache"safe_memory_mode: bool = False