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 omni-moderation-latest
Ishaan Jaffera3d64fb84341
diff --git a/tests/local_testing/test_openai_moderations_hook.py b/tests/local_testing/test_openai_moderations_hook.pyindex 2ab86699515..c63ce342b25 100644--- a/tests/local_testing/test_openai_moderations_hook.py+++ b/tests/local_testing/test_openai_moderations_hook.py@@ -34,7 +34,7 @@ async def test_openai_moderation_error_raising():"""openai_mod = _ENTERPRISE_OpenAI_Moderation()- litellm.openai_moderations_model_name = "text-moderation-latest"+ litellm.openai_moderations_model_name = "omni-moderation-latest"_api_key = "sk-12345"_api_key = hash_token("sk-12345")user_api_key_dict = UserAPIKeyAuth(api_key=_api_key)@@ -45,9 +45,9 @@ async def test_openai_moderation_error_raising():llm_router = litellm.Router(model_list=[{- "model_name": "text-moderation-latest",+ "model_name": "omni-moderation-latest","litellm_params": {- "model": "text-moderation-latest",+ "model": "omni-moderation-latest","api_key": os.environ["OPENAI_API_KEY"],},}