Skip to content

Send parallel_tool_calls true on Codex Responses requests - #969

Merged
TheGreatAxios merged 1 commit into
mainfrom
cl-7420-codex-parallel-probe
Sep 13, 2026
Merged

TheGreatAxios merged 1 commit into
mainfrom
cl-7420-codex-parallel-probe

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Collaborator

Probe + verdict for CL-7420: does the ChatGPT Codex backend accept parallel_tool_calls true?

Live probe (single trivial turn, Reply with exactly: ok, via codex/abk-labs, model gpt-5.5, POST https://chatgpt.com/backend-api/codex/responses with parallel_tool_calls flipped to true): HTTP 200 accepted. The backend echoed parallel_tool_calls:true in the response.created SSE event.

Verdict: accepted, so this flips the wire value to true. Omission (the OpenAI/Grok shape) was not probed — per the one-probe budget, true is the conservative choice because it is the only alternative with live evidence. The packaged @corbits/codex-provider adapter still pins false, so the host rewrites the field on the wire in src/provider/codex-responses.ts (request-body only; no store/continuity/reasoning, runner, gate, or TUI changes). Unit test updated to pin true; docs/IMPLEMENTATION.md updated in the same change.

No merges requested (review only).

Related to CL-7420.

A live probe against the ChatGPT Codex backend accepts parallel_tool_calls:true (HTTP 200 on POST /codex/responses, echoed true in response.created), so the host rewrites the field the packaged adapter still pins to false. Related to CL-7420.
@linear-code

linear-code Bot commented Sep 13, 2026

Copy link
Copy Markdown

CL-7420

@TheGreatAxios

Copy link
Copy Markdown
Collaborator Author

Audit: Approve. The parallel_tool_calls:true rewrite is scoped to the Codex Responses wire body with live-probe evidence cited (HTTP 200, echoed true, CL-7420) and the packaged-adapter false pin called out inline, so the next adapter bump has a clear conflict marker. Test asserts the on-the-wire value and IMPLEMENTATION.md is updated in the same change. Note: if the vendor adapter ever flips its pin to true, withParallelToolCalls becomes a pass-through and should be removed then.

@TheGreatAxios
TheGreatAxios merged commit 9a07ad5 into main Sep 13, 2026
9 checks passed
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