Skip to content

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

@alessandrobologna

Description

@alessandrobologna

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, 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:
alessandrobologna#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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions