antirez / antirez/ds4

Question: any interest in OpenAI Responses API support for Codex compatibility?

Open
#22 2 comments 4 reactions 0 assignees View on GitHub
Dominant language
C
Stars
22.3k
Forks
2.1k
Avg merge
1d 3h
Merged PRs (30d)
4

Description

Hi,

First, thanks for publishing ds4. I have been experimenting with it in the last couple of days, both on an M3 Ultra 512 and an M5 128, with both quants, and it's really working well for me (at least for what I have tested it with: opencode and pi).

I wanted to try it as well with Codex, but [now it requires using the Responses API](https://github.com/openai/codex/discussions/7782), which is not yet supported here, and so I had Codex with GPT-5.5 build support for it... Modern times dogfooding ;)

For reference, here is the merged PR in my fork:
https://github.com/alessandrobologna/ds4/pull/1

The implementation currently:

- adds `/v1/responses` endpoint with Responses-style request parsing and Responses SSE streaming events
- extends tool-schema handling to support Responses tools, tool search tools, and namespaced tools, preserving wire name + namespace
- updates README to document the new endpoint and Codex usage via `wire_api = "responses"`

I'd be happy to contribute it, or maybe you can just use it as a starting point to look at. Either way works. So no worries at all if this is outside the direction you have in mind. I just wanted to ask first before sending a larger compatibility PR.

Cheers, and thanks again for working on this.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.