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 ahealth_check

Ishaan Jaff4d648ee335fa
diff --git a/litellm/main.py b/litellm/main.py
index 52a886b69c4..d5a7b997216 100644
--- a/litellm/main.py
+++ b/litellm/main.py
@@ -5190,6 +5190,7 @@ async def ahealth_check(
model_params["cache"] = {
"no-cache": True
} # don't used cached responses for making health check calls
+ mode = mode or "chat"
if "*" in model:
return await ahealth_check_wildcard_models(
model=model,