Expand description
Codex executor: OpenAI Responses on the ChatGPT Codex backend, with an OAuth token
(bearer + Chatgpt-Account-Id) or a configured API key (codex-api-key).
HTTP paths port codex_executor_execute.go and codex_executor_stream.go. The WebSocket
upstream lives in codex_ws.
Structs§
- Codex
Executor - Steering
Input - A downstream connection’s later client frames (Go
WebsocketInput) and the live account check for its bound credential (GoWebsocketAuthCheck).
Enums§
- Interrupt
Error - Why [
CodexExecutor::interrupt] did not deliver aresponse.interrupt.
Constants§
- DEFAULT_
BASE_ URL - NO_
ACTIVE_ UPSTREAM - Go
ErrNoActiveUpstreamWebsocket.
Functions§
- sanitize_
alpha_ search sanitizeCodexAlphaSearchBody: drop prompt-cache fields, re-marshalling only when one was present (Go’s map round trip sorts keys and compacts).
Type Aliases§
- Client
Frames - The queue of a downstream connection’s client frames, in arrival order. A bounded channel backpressures the client; the connection’s own loop reads it between turns.