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
show more descriptive error messages on /health checks
Ishaan Jaff34cb748c6946
diff --git a/litellm/main.py b/litellm/main.pyindex 29dd925f70e..b98aa528d22 100644--- a/litellm/main.py+++ b/litellm/main.py@@ -5134,7 +5134,7 @@ async def ahealth_check(if passed_in_mode is None:return {- "error": "Missing `mode`. Set the `mode` for the model - https://docs.litellm.ai/docs/proxy/health#embedding-models"+ "error": f"Missing `mode`. Set the `mode` for the model - https://docs.litellm.ai/docs/proxy/health#embedding-models \n error:{str(e)}, \nstacktrace: {stack_trace}"}error_to_return = (