[HERMES#69022] fix(codex): gate Pro models by account catalog - #69022
Closed
69k4xmdfm2-blip wants to merge 2 commits into
Closed
[HERMES#69022] fix(codex): gate Pro models by account catalog#6902269k4xmdfm2-blip wants to merge 2 commits into
69k4xmdfm2-blip wants to merge 2 commits into
Conversation
Collaborator
Contributor
Author
|
Closing this PR to consolidate with #61665 and #67867.
No separate follow-up PR is planned. |
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
gpt-5.6-*-provariants in the curated and forward-compatible Codex catalogsmodel is not supported when using Codexasmodel_not_found, non-retryable, with fallback enabledRoot cause
The OAuth account catalog advertises Sol/Terra/Luna but no
*-provariants. Hermes nevertheless injected three Pro slugs into both fallback and forward-compatible discovery, allowing deterministic HTTP 400 failures in main and auxiliary tasks.Tests
Strict TDD was used: the new behavior tests failed before the production changes.
Final branch after merging current
origin/main:Command:
python -m pytest tests/hermes_cli/test_codex_models.py tests/agent/test_error_classifier.py -q -o 'addopts='Coverage added:
Compatibility
If OpenAI later grants Pro entitlement and returns a Pro slug from the live account catalog, Hermes keeps and displays it. Only synthetic/unverified Pro entries are removed.
Rollback
Revert
f9f835313; no config or schema migration is involved.