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
fix(bedrock): drop env-var backing for neutralize flag to satisfy doc CI
Kent681e75bf3072
diff --git a/litellm/__init__.py b/litellm/__init__.pyindex 4b10130326e..d8166280c68 100644--- a/litellm/__init__.py+++ b/litellm/__init__.py@@ -242,10 +242,7 @@ telemetry = Truemax_tokens: int = DEFAULT_MAX_TOKENS # OpenAI Defaultsdrop_params = bool(os.getenv("LITELLM_DROP_PARAMS", False))modify_params = bool(os.getenv("LITELLM_MODIFY_PARAMS", False))-bedrock_neutralize_orphaned_tool_blocks = (- os.getenv("LITELLM_BEDROCK_NEUTRALIZE_ORPHANED_TOOL_BLOCKS", "true").lower()- == "true"-)+bedrock_neutralize_orphaned_tool_blocks: bool = Trueuse_chat_completions_url_for_anthropic_messages: bool = bool(os.getenv("LITELLM_USE_CHAT_COMPLETIONS_URL_FOR_ANTHROPIC_MESSAGES", False)) # When True, routes OpenAI /v1/messages requests to chat/completions instead of the Responses API