Repository navigation
Preserve configured reasoning efforts on dedicated Codex Gateways - #5444
Merged
Merged
Conversation
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review in progressClawSweeper is reviewing this revision. This supersedes any previous blocked status. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A dedicated Codex Gateway on Kubernetes used to discard each model’s entire
compatobject 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.supportedReasoningEffortson thecodexoropenaimodel row that declares it. The list must be nonempty and contain onlyminimal,low,medium,high,xhigh,max, orultra. The Gateway strips every othercompatfield, includingthinkingLevels, which would trigger fallback to the Gateway-local runtime. The existingthinkingLevelMapstill controls visible choices. The unreachable transport stub still applies tocodexand toopenaiprovider 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.