opencode icon indicating copy to clipboard operation
opencode copied to clipboard

Azure OpenAI need to change completions -> responses

Open synergiator opened this issue 1 week ago • 1 comments

Description

Recently, my Azure OpenAI configuartion seizes to work.

In the Azure AI Foundry I find this endpoint: ...<RSN>.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)

Plugins

No response

OpenCode version

No response

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

synergiator avatar Jan 07 '26 08:01 synergiator