antirez / antirez/ds4

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

Đang mở
#22 2 bình luận 4 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
C
Star
22.3k
Fork
2.1k
Merge trung bình
1 ngày 3 giờ
Pull request đã merge (30 ngày)
4

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.