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 fixes
Ishaan Jaffer3dffb6bd403f
diff --git a/tests/llm_translation/test_azure_ai.py b/tests/llm_translation/test_azure_ai.pyindex c007fda5476..91fa8c0bbab 100644--- a/tests/llm_translation/test_azure_ai.py+++ b/tests/llm_translation/test_azure_ai.py@@ -300,16 +300,16 @@ async def test_azure_ai_request_format():@pytest.mark.asyncio[email protected]("model", ["azure/gpt5_series/gpt-5", "azure/gpt-5"])[email protected]("model", ["azure/gpt5_series/gpt-5-mini", "azure/gpt-5-mini"])async def test_azure_gpt5_reasoning(model):litellm._turn_on_debug()response = await litellm.acompletion(- model="azure/gpt5_series/gpt-5",+ model=model,messages=[{"role": "user", "content": "What is the capital of France?"}],reasoning_effort="minimal",max_tokens=10,- api_base=os.getenv("AZURE_GPT5_API_BASE"),- api_key=os.getenv("AZURE_GPT5_API_KEY"),+ api_base=os.getenv("AZURE_API_BASE"),+ api_key=os.getenv("AZURE_API_KEY"),)print("response: ", response)assert response.choices[0].message.content is not Nonediff --git a/tests/llm_translation/test_azure_openai.py b/tests/llm_translation/test_azure_openai.pyindex b450da9939f..edca8c46c9a 100644--- a/tests/llm_translation/test_azure_openai.py+++ b/tests/llm_translation/test_azure_openai.py@@ -630,20 +630,3 @@ def test_azure_openai_responses_bridge():== "test-azure-computer-use-preview")assert mock_responses.call_args.kwargs["custom_llm_provider"] == "azure"---def test_azure_openai_gpt_5_responses_api():- try:- from litellm import responses-- litellm._turn_on_debug()-- response = responses(- model="azure/gpt-5",- input="Hi good morning",- api_key=os.getenv("AZURE_GPT5_API_KEY"),- api_base=os.getenv("AZURE_GPT5_API_BASE"),- )- print(f"response: {response}")- except litellm.RateLimitError:- pytest.skip("Skipping test due to RateLimitError")