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]

test_azure_responses_api_status_error

Ishaan Jaffer86881a8fc10b
diff --git a/tests/llm_responses_api_testing/test_azure_responses_api.py b/tests/llm_responses_api_testing/test_azure_responses_api.py
index 6305137ff45..7217b23db08 100644
--- a/tests/llm_responses_api_testing/test_azure_responses_api.py
+++ b/tests/llm_responses_api_testing/test_azure_responses_api.py
@@ -55,7 +55,7 @@ async def test_azure_responses_api_status_error():
litellm._turn_on_debug()
request_data = {
- "model": "gpt-5-mini",
+ "model": "computer-use-preview",
"input": [
{"content": "tell me an interesting fact", "role": "user"},
{
@@ -71,7 +71,7 @@ async def test_azure_responses_api_status_error():
"content": [
{
"annotations": [],
- "text": "Octopuses have three hearts: two pump blood to the gills, while the third pumps it to the rest of the body. Even more unusual, their blood is blue because it uses the copper-containing protein hemocyanin to carry oxygen, which is more efficient than hemoglobin in cold, low-oxygen environments.",
+ "text": "very good morning",
"type": "output_text",
"logprobs": [],
}
@@ -89,10 +89,10 @@ async def test_azure_responses_api_status_error():
"tools": [],
}
response = await litellm.aresponses(
- model="azure/gpt-5-mini-2",
+ model="azure/computer-use-preview",
truncation="auto",
api_version="preview",
- api_base=os.getenv("AZURE_GPT5_MINI_API_BASE"),
- api_key=os.getenv("AZURE_GPT5_MINI_API_KEY"),
+ api_base=os.getenv("AZURE_RESPONSES_OPENAI_ENDPOINT"),
+ api_key=os.getenv("AZURE_RESPONSES_OPENAI_API_KEY"),
input=request_data["input"],
)