Skip to content

[codex] Add max reasoning effort#573

Draft
michaelfeil wants to merge 1 commit into
64bit:mainfrom
michaelfeil:codex/add-reasoning-effort-max
Draft

[codex] Add max reasoning effort#573
michaelfeil wants to merge 1 commit into
64bit:mainfrom
michaelfeil:codex/add-reasoning-effort-max

Conversation

@michaelfeil

Copy link
Copy Markdown

Summary

Adds ReasoningEffort::Max, serializing to the OpenAI wire value "max" through the existing lowercase serde rule.

This lets typed request builders represent the max reasoning effort now shown for GPT-5.6 models in the OpenAI model catalog. The enum is shared across Chat, Responses, Evals, and Graders, so the variant is available wherever ReasoningEffort is reused.

Validation

  • cargo test -p async-openai --features chat-completion-types --test ser_de
  • cargo check -p async-openai --features responses

@michaelfeil
michaelfeil force-pushed the codex/add-reasoning-effort-max branch from b20f053 to 08710a5 Compare July 17, 2026 16:32
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