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(responses): log the bridge check failure lazily
Joshua Garnett216af3826e6d
diff --git a/litellm/responses/litellm_completion_transformation/transformation.py b/litellm/responses/litellm_completion_transformation/transformation.pyindex 8d790024cfe..c7f8ab24de4 100644--- a/litellm/responses/litellm_completion_transformation/transformation.py+++ b/litellm/responses/litellm_completion_transformation/transformation.py@@ -337,7 +337,7 @@ class LiteLLMCompletionResponsesConfig:api_base=api_base,)except Exception as e: # noqa: BLE001 # a capability probe must never fail the request it probes for- verbose_logger.debug(f"responses bridge: reasoning effort mode check failed: {e}")+ verbose_logger.debug("responses bridge: reasoning effort mode check failed: %s", e)return Falsereturn model_info.get("mode") == "responses"