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
test_azure_safety_result
Ishaan Jaffer179eb8815d55
diff --git a/tests/llm_translation/test_azure_openai.py b/tests/llm_translation/test_azure_openai.pyindex 9666968d66a..e36b6952d7a 100644--- a/tests/llm_translation/test_azure_openai.py+++ b/tests/llm_translation/test_azure_openai.py@@ -618,6 +618,9 @@ def test_azure_safety_result():response = completion(model="azure/gpt-4.1-mini",+ api_key=os.getenv("AZURE_API_KEY"),+ api_base=os.getenv("AZURE_API_BASE"),+ api_version="2024-12-01-preview",messages=[{"role": "user", "content": "Hello world"}],)print(f"response: {response}")