Skip to content

Azure OpenAI need to change completions -> responses #7180

@synergiator

Description

@synergiator

Description

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)

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions