Skip to content

Preserve configured reasoning efforts on dedicated Codex Gateways - #5444

Merged
freeqaz-openai merged 6 commits into
mainfrom
fix/native-reasoning-capabilities
Nov 11, 2026
Merged

freeqaz-openai merged 6 commits into
mainfrom
fix/native-reasoning-capabilities

Conversation

@freeqaz-openai

@freeqaz-openai freeqaz-openai commented Nov 11, 2026 •

Copy link
Copy Markdown
Collaborator

A dedicated Codex Gateway on Kubernetes used to discard each model’s entire compat object when it started with a workspace-node ID or binding path. That erased the reasoning efforts an operator had configured for the model.

On the next Agent revision, the Gateway keeps compat.supportedReasoningEfforts on the codex or openai model row that declares it. The list must be nonempty and contain only minimal, low, medium, high, xhigh, max, or ultra. The Gateway strips every other compat field, including thinkingLevels, which would trigger fallback to the Gateway-local runtime. The existing thinkingLevelMap still controls visible choices. The unreachable transport stub still applies to codex and to openai provider rows with an authored API or base URL. This change adds no capability inference or picker UI.

All 82 tests in the owning file passed before the sibling-row assertion was added. The final version of that case passed separately and verified that a plain sibling receives no effort list. The tests used fixture I/O, and a separate check confirmed that the pinned native predicate accepts the saved list without a request override. Verification did not include a live model turn.

Required CI and CodeQL checks passed on the published PR head.

@freeqaz-openai
freeqaz-openai requested a review from a team as a code owner November 11, 2026 09:15
@clawsweeper

clawsweeper Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review in progress

ClawSweeper is reviewing this revision. This supersedes any previous blocked status.

View the workflow run.

@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Nov 11, 2026
@freeqaz-openai
freeqaz-openai merged commit 89e4d8b into main Nov 11, 2026
64 checks passed
@freeqaz-openai
freeqaz-openai deleted the fix/native-reasoning-capabilities branch November 11, 2026 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant