You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Azure OpenAI need to change completions -> responses #7180
Recently, my Azure OpenAI configuartion seizes to work.
In the Azure AI Foundry I find this endpoint: ....cognitiveservices.azure.com/openai/responses?api-version=2025-04-01-preview"
So it's "responses"
Using the base URL ".../openai" as usual renders however a runtime error "Resource not found", and in the opencode log I see it tried to take the "completions" route. (as of 1.1.4 for example)
Azure Responses API #1413: Azure Responses API - Notes that newer Azure models don't support the completions API and should use the responses API instead
Feel free to ignore if none of these address your specific case.
We've been working with Azure Responses API in a restricted environment and hit this exact issue. Our current workaround routes to sdk.responses() for Azure providers, but we think an explicit config flag would be more robust for different Azure setups.
Proposal: Add an optional use_responses: true config flag (following snake_case per contributing guidelines) so users can opt into the Responses API path. This would let Azure users choose based on their endpoint shape without guessing.
If this approach sounds good, we're happy to assemble and test a clean PR before submitting. Thoughts?
Reacted by Tam, Tom Brandenburg and Sergei Razmetov
Activity
github-actions commentedon Jan 7, 2026
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case.
OmarMcAdam commentedon Jan 17, 2026
addressed by #9036
Dulani commentedon Feb 26, 2026
We've been working with Azure Responses API in a restricted environment and hit this exact issue. Our current workaround routes to
sdk.responses()for Azure providers, but we think an explicit config flag would be more robust for different Azure setups.Proposal: Add an optional
use_responses: trueconfig flag (following snake_case per contributing guidelines) so users can opt into the Responses API path. This would let Azure users choose based on their endpoint shape without guessing.If this approach sounds good, we're happy to assemble and test a clean PR before submitting. Thoughts?
tbrandenburg commentedon Mar 18, 2026
Hej guys,
any news on this?
Actually I can't use any codex models deployed in Azure
bakaburg1 commentedon Apr 9, 2026
Me too...
rekram1-node commentedon Apr 21, 2026
Everything should be using responses by default, if it's not please show me:
opencode debug configso I know what to do?rekram1-node commentedon May 11, 2026
closing since no activity can reopen if needed