[PR #1428] [MERGED] Use responses API for Azure #9928

Closed
opened 2026-02-16 18:14:24 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/anomalyco/opencode/pull/1428
Author: @simon-wg
Created: 7/30/2025
Status: Merged
Merged: 7/30/2025
Merged by: @thdxr

Base: devHead: dev


📝 Commits (3)

📊 Changes

2 files changed (+11 additions, -1 deletions)

View changed files

📝 packages/opencode/src/provider/provider.ts (+9 -0)
📝 packages/opencode/src/tool/registry.ts (+2 -1)

📄 Description

This uses the same implementation as the openai provider to allow for use of models which require the responses API.

Tested on o4-mini, codex-mini and gpt-4.1 without any obvious issues.
I am getting a warning about the weather mcp tool but that happens with upstream dev as well.

Fixes #1413


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/anomalyco/opencode/pull/1428 **Author:** [@simon-wg](https://github.com/simon-wg) **Created:** 7/30/2025 **Status:** ✅ Merged **Merged:** 7/30/2025 **Merged by:** [@thdxr](https://github.com/thdxr) **Base:** `dev` ← **Head:** `dev` --- ### 📝 Commits (3) - [`b3a28b7`](https://github.com/anomalyco/opencode/commit/b3a28b73f3ce11d8ffef048a6fb8cf9dfbaca303) test azure - [`d6017c2`](https://github.com/anomalyco/opencode/commit/d6017c24cf82480e7fbf3b623ca7d8b86e9caa8a) disable todoread and todowrite for codex - [`0d9222a`](https://github.com/anomalyco/opencode/commit/0d9222a3e91b89d6183f4bb8fc03667efa349b5e) restore import order ### 📊 Changes **2 files changed** (+11 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `packages/opencode/src/provider/provider.ts` (+9 -0) 📝 `packages/opencode/src/tool/registry.ts` (+2 -1) </details> ### 📄 Description This uses the same implementation as the openai provider to allow for use of models which require the responses API. Tested on o4-mini, codex-mini and gpt-4.1 without any obvious issues. I am getting a warning about the weather mcp tool but that happens with upstream dev as well. Fixes #1413 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 18:14:24 -05:00
yindo closed this issue 2026-02-16 18:14:24 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#9928