Skip to content

[Feature]: Expose thinking/reasoning to non-Codex Responses API clients (opt-in) #210

Closed

Description

@linearuncle

Problem

Clients that integrate via /v1/responses but are not Codex (and cannot send reasoning.summary — many generic Responses-API clients have no field for it) currently have no way to receive thinking/reasoning content:

  1. Thinking is hidden unless the request explicitly asks for a summary (reasoning.summary), which these clients cannot send.
  2. Even when shown, raw reasoning (openai-chat reasoning_content, kiro tags) is emitted in the content/reasoning_text shape (response.reasoning_text.delta events), which generic clients do not render — they only implement the official summary shape (response.reasoning_summary_text.delta + summary parts).

So the thinking text flows through the proxy but is invisible to a whole class of clients.

Proposal

An opt-in OcxConfig.thinkingSummary boolean (default off — upstream behavior unchanged):

  • When true, thinking is returned unless the request explicitly says reasoning.summary: "none" (request-level choice still wins).
  • Raw reasoning is then emitted in the standard summary shape (reasoning_summary_* events + summary parts) that generic clients render, matching what the Anthropic extended-thinking path already produces.
  • Inbound parsing already accepts summary || content, so multi-turn replay (preserveReasoningContentModels) is unaffected.

Implementation is ready on my fork for review: https://github.com/linearuncle/opencodex/tree/feat/thinking-summary (single commit, 11 files, +163/−15, includes tests and config docs).

Happy to open a PR if the approach looks good — or adjust the design (e.g. two separate knobs for visibility vs. shape) if you'd prefer finer control.

Activity

  1. changed the title [-]Thinking invisible to non-Codex Responses API clients[/-] [+][Feature]: Expose thinking/reasoning to non-Codex Responses API clients (opt-in)[/+] on Jul 21, 2026
  2. lidge-jun commented on Jul 21, 2026

    @lidge-jun
    Owner

    I considered before but I found that codex app now dont exposes resoning summary either could you give me reference photos of it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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