Skip to content

fix(codex): send reasoning.context=all_turns on Responses-Lite - #341

Merged
caigee-cmd merged 1 commit into
mainfrom
fix/codex-lite-reasoning-context
Oct 21, 2026
Merged

caigee-cmd merged 1 commit into
mainfrom
fix/codex-lite-reasoning-context

Conversation

@caigee-cmd

Copy link
Copy Markdown
Owner

Fixes #300

Models sent under X-OpenAI-Internal-Codex-Responses-Lite now get reasoning.context=all_turns (other reasoning members preserved), which the backend requires alongside parallel_tool_calls=false.

Regression test and changelog fragment included. go build/vet/test ./... and release-notes validate pass locally.

@caigee-cmd
caigee-cmd merged commit ccf97b0 into main Oct 21, 2026
6 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.

报错 400 X-OpenAI-Internal-Codex-Responses-Lite requires reasoning.context to be all_turns

1 participant