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]

[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.py
index 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: PLR0915
data=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 response
except 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.py
index 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 response
except Exception as e:
await proxy_logging_obj.post_call_failure_hook(