docs(providers): add Azure OpenAI setup page and directory entry#110299
docs(providers): add Azure OpenAI setup page and directory entry#110299misbahsy wants to merge 1 commit into
Conversation
|
Codex review: needs maintainer review before merge. Reviewed July 17, 2026, 9:45 PM ET / July 18, 2026, 01:45 UTC. Summary PR surface: Docs +138. Total +138 across 4 files. Reproducibility: not applicable. the PR changes documentation only. The remaining verification is that the documented commands and configuration map accurately to current runtime behavior and that the docs build accepts the page. Review metrics: none identified. Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Risk before merge
Maintainer options:
Next step before merge
Security Review detailsBest possible solution: Keep one dedicated Azure OpenAI guide for the existing direct API-key route, but land it only after the docs check passes and the endpoint, deployment-name, environment-variable, and verification instructions are confirmed against current Do we have a high-confidence way to reproduce the issue? Not applicable: the PR changes documentation only. The remaining verification is that the documented commands and configuration map accurately to current runtime behavior and that the docs build accepts the page. Is this the best way to solve the issue? Unclear: a dedicated provider page is a plausible maintainable solution to the discoverability gap, but the current environment could not verify the page’s detailed instructions against the current source or diagnose the failing docs check. AGENTS.md: unclear because the file could not be read completely. Codex review notes: model internal, reasoning high; reviewed against 75e4103c5738. Label changesLabel changes:
Label justifications:
Evidence reviewedPR surface: Docs +138. Total +138 across 4 files. View PR surface stats
What I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
|
What Problem This Solves
Azure OpenAI chat/Responses is supported by the core
azure-openai-responsesmodel API, but it is effectively undiscoverable in the docs. The provider
directory (
docs/providers/index.md) only lists Azure Speech, so a new userwho has an Azure OpenAI key reasonably concludes chat/Responses is not
supported. The only mention of the setup path lived as a passing reference on
the OpenAI page that pointed readers into the unrelated "Server-side compaction"
accordion instead of a real walkthrough.
Why This Change Was Made
Adds a dedicated Azure OpenAI provider page documenting the direct
API-key
azure-openai-responsespath (v1 vs classic endpoint, deployment nameas model id,
AZURE_OPENAI_API_VERSIONdefault, onboarding host recognition,manual config, and verify commands). It also:
docs/providers/index.md),compaction accordion,
/providers/azure-openai-responses->/providers/azure-openairedirect in
docs.json.Non-goals: this page does not change any runtime behavior and does not duplicate
the existing OpenAI-page section on Azure image endpoints, nor the Microsoft
Foundry plugin (Entra ID / Foundry discovery) — it routes to both. Reported
reliability issues are listed as open, user-reported, and not maintainer-confirmed
so readers can weigh them without the docs asserting unverified behavior.
User Impact
Users with an Azure OpenAI resource can now find a single page that walks them
through configuring chat/Responses, understand the v1 vs classic endpoint
choice, know that the model id must be the Azure deployment name, and see the
open reported caveats before relying on the path in production.
Evidence
Documentation-only change (141 insertions across 4 files). Claims in the page
were derived from and cross-checked against current core source:
src/config/types.models.ts(azure-openai-responses).src/agents/openai-responses-transport.ts(
DEFAULT_AZURE_OPENAI_API_VERSION = "preview",AZURE_OPENAI_API_VERSION,AZURE_OPENAI_DEPLOYMENT_NAME_MAP, v1 vs classic viaisOpenAICompatibleAzureResponsesBaseUrl, deployment-name-as-model).src/commands/onboard-custom-config.ts(
*.openai.azure.com,*.services.ai.azure.com).--provider/--probe --probe-providerinsrc/cli/models-cli.ts.#azure-openai-endpointsexists on the OpenAI page.Links are root-relative with no
.mdsuffix and the directory entry isalphabetically ordered per the docs guide.
Related (open, user-reported): #79570, #80926, #102907