antirez / antirez/ds4

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

Ouverte
#22 2 commentaires 4 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
C
Étoiles
22.3k
Forks
2.1k
Merge moyen
1 j 3 h
PR mergées (30 j)
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.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.