Status: [UNTESTED] Endpoints found: http://localhost:3000/v1/models http://localhost:3000/v1/responses Source: https://github.com/CallOrRet/responses-proxy # responses-proxy A proxy that converts **OpenAI Responses API** requests to **Chat Completions API** requests and converts Chat responses back to Responses format. The request and response structs used by the proxy are modeled directly from the official OpenAI Responses API and Chat Completions API definitions. Supports both HTTP SSE and WebSocket streaming, reasoning/thinking content, and tool calling. Works as a drop-in **Codex CLI** backend via DeepSeek or any Chat API-compatible provider. ## Features - **HTTP SSE & WebSocket** — both `POST /v1/responses` (SSE) and `GET /v1/responses` (WebSocket upgrade) - **OpenAI-compatible typed boundary** — incoming `/v1/responses` requests must deserialize as official Responses API request bodies, and upstream/downstream Chat bodies use official Chat Completions request/response shapes - **Reasoning / Thinking** — maps Responses `reasoning.effort` to Chat `reasoning_effort`; provider-specific thinking fields can be added with `rewrite` - **Tool Calling** — full `function_call` / `function_call_output` roundtrip with correct message ordering - **Codex CLI Compatible** — handles warmup, `previous_response_id` continuation, and full streaming event chain - **Multi-Model** — configurable per-model downstream providers ## Codex CLI After starting responses-proxy, add the following line to `~/.codex/config.toml`: ```toml openai_base_url = "http://localhost:3000/v1" ``` Then start Codex and it will route all requests through the proxy. ```bash codex # uses gpt-5.5 model codex review # uses codex-auto-review model (if configured) ``` ## How It Works ``` Client (Responses API) → POST /v1/responses or WS → Convert → POST /chat/completions → Provider ↑ ↓ └──────────────── Convert response back ─────────────â”