Skip to content

Omit Codex Responses reasoning.summary auto for Terra/Luna - #532

Merged
TheGreatAxios merged 2 commits into
mainfrom
cl-6893-gpt-53-codex-terra-gets-http-400-bad-request-at-turn-0-on
Aug 23, 2026
Merged

Omit Codex Responses reasoning.summary auto for Terra/Luna#532
TheGreatAxios merged 2 commits into
mainfrom
cl-6893-gpt-53-codex-terra-gets-http-400-bad-request-at-turn-0-on

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Collaborator

Summary

ChatGPT Codex rejects reasoning.summary: "auto" for gpt-5.6-terra / gpt-5.3-codex family models with HTTP 400 at turn 0. The Codex Responses adapter was always sending summary: "auto" whenever reasoning_effort was set. This PR omits summary and sends { effort } only, matching Codex CLI catalog default_reasoning_summary=none.

Test plan

  • Added regression: Terra and Luna request bodies must not contain reasoning.summary: "auto" (failed before fix; passes after)
  • Updated existing reasoning_effort mapping expectation to { effort } only
  • bun test tests/unit/codex-responses-adapter.test.ts green (28 pass)
  • bun run typecheck green

Fixes CL-6893

ChatGPT Codex rejects summary "auto" for the gpt-5.6-terra /
gpt-5.3-codex family (HTTP 400). Send effort only to match the
Codex CLI catalog default_reasoning_summary=none.
@linear-code

linear-code Bot commented Aug 23, 2026

Copy link
Copy Markdown

CL-6893

@TheGreatAxios
TheGreatAxios merged commit ada29e3 into main Aug 23, 2026
5 checks passed
@TheGreatAxios TheGreatAxios mentioned this pull request Aug 23, 2026
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant