antirez / antirez/ds4

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

Aperta
#22 2 commenti 4 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
C
Stelle
22.3k
Fork
2.1k
Merge medio
1g 3h
PR unite (30g)
4

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.