Skip to content

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

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

[Fix] Azure OpenAI returns 404 with resource endpoint#1192
zoomote[bot] wants to merge 9 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.
  • Translate the Azure endpoint and deployment guidance across all 17 supported non-English locales.
  • Add focused provider and component regression coverage, including a Playwright CT snapshot of the Azure settings state.

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 in every supported language. 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!

@edelauna
edelauna marked this pull request as ready for review August 8, 2026 19:21
@github-actions github-actions Bot added the awaiting-review PR changes are ready and waiting for maintainer re-review label Aug 8, 2026
@github-actions github-actions Bot added awaiting-review PR changes are ready and waiting for maintainer re-review and removed awaiting-review PR changes are ready and waiting for maintainer re-review labels Aug 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting-review PR changes are ready and waiting for maintainer re-review

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

2 participants