feat(codex): extend GPT-5.6 reasoning and fallback support#1519
Open
AaronZ345 wants to merge 4 commits into
Open
feat(codex): extend GPT-5.6 reasoning and fallback support#1519AaronZ345 wants to merge 4 commits into
AaronZ345 wants to merge 4 commits into
Conversation
AaronZ345
force-pushed
the
agent/codex-gpt56-reasoning-efforts
branch
2 times, most recently
from
July 14, 2026 03:03
2fa860e to
7f4907b
Compare
Contributor
Author
|
Hi @chenhg5, I’ve rebased this PR onto the latest main and all five CI checks are green. Could you please take another look and merge it when you have a chance? Thanks! |
AaronZ345
force-pushed
the
agent/codex-gpt56-reasoning-efforts
branch
from
July 14, 2026 14:41
7f4907b to
c282a92
Compare
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.
Summary
none,minimal,max, andultraas Codex reasoning efforts/reasoningand/effortusage text from the active agent instead of hardcoding four levelsconfig.example.tomlRelation to #1547
#1547 already fixed GPT-5.x discovery from
/v1/modelsby replacing the stale allowlist withisCodexChatModel. This PR leaves that filter unchanged.The remaining model change here is limited to
defaultCodexModels(), the final offline fallback. The duplicate GPT-5.6 API test has also been removed; the upstreamcodex_model_test.gosuite now owns API-filter coverage.The reasoning changes are separate from model discovery. Codex CLI 0.144 accepts the newer levels, but cc-connect previously normalized values beyond
xhighto an empty string and showed a stale four-level usage message.Validation
go test ./agent/codex -count=1go test ./core -run "TestCmdReasoning_UsageListsAgentEfforts|TestCmdReasoning_SwitchesEffortAndResetsSession" -count=1go test -tags no_web ./cmd/cc-connect ./core ./agent/codex -count=1git diff --check