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] Remove INFO level log from /messages endpoint (#14377)
Ishaan Jaffaf7d3cd334c3
diff --git a/litellm/proxy/anthropic_endpoints/endpoints.py b/litellm/proxy/anthropic_endpoints/endpoints.pyindex 2de5ec1ee12..0dda5cecc83 100644--- a/litellm/proxy/anthropic_endpoints/endpoints.py+++ b/litellm/proxy/anthropic_endpoints/endpoints.py@@ -205,7 +205,7 @@ async def anthropic_response( # noqa: PLR0915data=data, user_api_key_dict=user_api_key_dict, response=response # type: ignore)- verbose_proxy_logger.info("\nResponse from Litellm:\n{}".format(response))+ verbose_proxy_logger.debug("\nResponse from Litellm:\n{}".format(response))return responseexcept Exception as e:await proxy_logging_obj.post_call_failure_hook(diff --git a/litellm/proxy/pass_through_endpoints/pass_through_endpoints.py b/litellm/proxy/pass_through_endpoints/pass_through_endpoints.pyindex 85bdad11f78..6e5d4faabdb 100644--- a/litellm/proxy/pass_through_endpoints/pass_through_endpoints.py+++ b/litellm/proxy/pass_through_endpoints/pass_through_endpoints.py@@ -264,7 +264,7 @@ async def chat_completion_pass_through_endpoint( # noqa: PLR0915))- verbose_proxy_logger.info("\nResponse from Litellm:\n{}".format(response))+ verbose_proxy_logger.debug("\nResponse from Litellm:\n{}".format(response))return responseexcept Exception as e:await proxy_logging_obj.post_call_failure_hook(