Skip to content

[Fix] Azure OpenAI returns 404 with resource endpoint - #1192

Draft
zoomote[bot] wants to merge 7 commits into
mainfrom
fix/azure-openai-404-0vf712oeb5860
Draft

[Fix] Azure OpenAI returns 404 with resource endpoint#1192
zoomote[bot] wants to merge 7 commits into
mainfrom
fix/azure-openai-404-0vf712oeb5860

Conversation

@zoomote

@zoomote zoomote Bot commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

Created by Roomote. Follow up by mentioning @roomote, in the web UI, or in Discord.

What changed

  • Normalize Azure OpenAI resource endpoints to include the required /openai path before constructing the SDK client.
  • Preserve already-correct Azure endpoints and support explicit Azure mode behind custom hostnames.
  • Show an Azure-specific endpoint placeholder, deployment-name label, and model-name warning in OpenAI Compatible settings.
  • Add focused provider and component regression coverage.

Why this change was made

Azure OpenAI requests returned 404 Resource not found when users entered the resource endpoint shown by Azure AI Studio because the SDK received a base URL without /openai. The generic model label also encouraged users to enter the underlying model name instead of their user-defined Azure deployment name.

Impact

Users can connect with either the Azure resource endpoint or the full /openai endpoint, and the settings UI now makes the deployment-name requirement explicit. Generic OpenAI-compatible providers and Azure AI Inference retain their existing request paths.

Related PRs

Closes #1191

@codecov

codecov Bot commented Aug 8, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: Azure OpenAI 404 — missing /openai path and no deployment-name hint

1 participant