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: #4942. Remove verbose logging when exception can be handled
David Leen452441ae032c
diff --git a/litellm/main.py b/litellm/main.pyindex 4a0d1251e8c..c073d191271 100644--- a/litellm/main.py+++ b/litellm/main.py@@ -413,11 +413,6 @@ async def acompletion() # sets the logging event loop if the user does sync streaming (e.g. on proxy for sagemaker calls)return responseexcept Exception as e:- verbose_logger.error(- "litellm.acompletion(): Exception occured - {}\n{}".format(- str(e), traceback.format_exc()- )- )verbose_logger.debug(traceback.format_exc())custom_llm_provider = custom_llm_provider or "openai"raise exception_type(