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 /moderations endpoint
Ishaan Jaff7a17b2132fbb
diff --git a/litellm/proxy/route_llm_request.py b/litellm/proxy/route_llm_request.pyindex 90fd09a4ace..7a7be55b22a 100644--- a/litellm/proxy/route_llm_request.py+++ b/litellm/proxy/route_llm_request.py@@ -65,9 +65,10 @@ async def route_request(return getattr(user_router, f"{route_type}")(**data)elif (- "," in data.get("model", "")+ route_type == "acompletion"+ and data.get("model", "") is not None+ and "," in data.get("model", "")and llm_router is not None- and route_type == "acompletion"):if data.get("fastest_response", False):return llm_router.abatch_completion_fastest_response(**data)