Repository navigation
fix: drop hardcoded gpt-5.4-mini from codex health check - #557
Open
im-whatTheSigma wants to merge 1 commit into
Open
im-whatTheSigma wants to merge 1 commit into
im-whatTheSigma wants to merge 1 commit into
Conversation
codex_live_ok() pinned gpt-5.4-mini, which ChatGPT-account auth cannot invoke: 400 invalid_request_error: The 'gpt-5.4-mini' model is not supported when using Codex with a ChatGPT account. This made 'make docker-login' always report 'codex: NOT logged in' and exit 1, even immediately after a successful login with a valid token in the volume. Omitting -m lets Codex use the account default.
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.
codex_live_ok() pinned gpt-5.4-mini, which ChatGPT-account auth cannot invoke:
This made 'make docker-login' always report 'codex: NOT logged in' and exit 1, even immediately after a successful login with a valid token in the volume. Omitting -m lets Codex use the account default.
Repro
make docker-buildmake docker-login— complete the Codex OAuth flow in the browser (succeeds)codex: NOT logged in, exits 1auth.jsonin thepentestgpt-codexvolume is fully populated(
auth_mode: chatgpt, valid tokens, freshlast_refresh) — the loginworked. Only the health check fails.
Note
codex_live_ok()sends stderr to /dev/null, so the 400 is invisible andusers see "NOT logged in" — pointing at auth/socat/volumes rather than the
model. Surfacing the error on failure would make this class of issue much
easier to diagnose. Happy to add that in this PR if wanted thank you!
Environment
Codex CLI v0.155.1, ChatGPT Plus account, Claude Pro, Docker on Kali.