azure_openai_responsesTier 1 · 70% confidence

ai-agents-azure-openai-respons-using-the-responses-endpoint-with-azure-openai-llm-6be46607

agent: ai_agents

When does this happen?

IF Using the /responses endpoint with Azure OpenAI LLMs via litellm returns a 404 Resource not found error, while /chat/completions works.

How others solved it

THEN Upgrade litellm to version 1.75.9 or later, which includes a fix (PR #13526) for Azure OpenAI responses endpoint compatibility. Ensure the library version is updated in your dependencies and redeploy.

import openai
client = openai.OpenAI(base_url="<litellm_url>", api_key="<api_key>")
client.responses.create(model="gpt-4.1-mini", input=[{"role": "user", "content": "Just say OK!"}])

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics