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
remove logs
Colin Lin2a5082e6cf2e
diff --git a/litellm/llms/custom_httpx/llm_http_handler.py b/litellm/llms/custom_httpx/llm_http_handler.pyindex 10353c68b97..701cefb771e 100644--- a/litellm/llms/custom_httpx/llm_http_handler.py+++ b/litellm/llms/custom_httpx/llm_http_handler.py@@ -1811,8 +1811,6 @@ class BaseLLMHTTPHandler:forwarded_headers = kwargs.get("headers", None)# Also check for extra_headers in kwargs (from config or direct calls)extra_headers_from_kwargs = kwargs.get("extra_headers", None)- print("extra_headers_from_kwargs", extra_headers_from_kwargs)- print("provider_specific_headers", provider_specific_headers)# Merge all header sources: forwarded < extra_headers < provider_specificmerged_headers = {}if forwarded_headers: