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(websearch): downgrade max_tokens adjustment log level
giulio-leoneb04ba60e6e24
diff --git a/litellm/integrations/websearch_interception/handler.py b/litellm/integrations/websearch_interception/handler.pyindex 35275b574dd..3680502839d 100644--- a/litellm/integrations/websearch_interception/handler.py+++ b/litellm/integrations/websearch_interception/handler.py@@ -507,7 +507,7 @@ class WebSearchInterceptionLogger(CustomLogger):):if max_tokens <= budget_tokens:adjusted = math.ceil(budget_tokens) + 1024- verbose_logger.warning(+ verbose_logger.info("WebSearchInterception: max_tokens=%s <= thinking.budget_tokens=%s, ""adjusting to %s to satisfy Anthropic API constraint",max_tokens, budget_tokens, adjusted,