fix(codex): hide gpt-5.5-pro for Codex OAuth users - #12040
Merged
Conversation
Contributor
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Files Reviewed (3 files)
Incremental update: the only change since the last review is a marker-only commit adding Previous Review Summary (commit 93c209b)Current summary above is authoritative. Previous snapshots are kept for context only. Previous review (commit 93c209b)Status: No Issues Found | Recommendation: Merge Files Reviewed (3 files)
Reviewed by claude-sonnet-5-20260630 · Input: 20 · Output: 3.2K · Cached: 476K Review guidance: REVIEW.md from base branch |
t7tran
pushed a commit
to t7tran/kilocode
that referenced
this pull request
Aug 14, 2026
…auth fix(codex): hide gpt-5.5-pro for Codex OAuth users
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.
Issue
Fixes #12038
Context
When authenticated with OpenAI using Codex OAuth (ChatGPT Plus/Pro), Kilo displayed gpt-5.5-pro in the model picker even though the model is not supported by the Codex OAuth backend. Selecting it resulted in a 400 Bad Request response from the server
Implementation
Added a DISALLOWED_MODELS set to the Codex OAuth plugin and excluded gpt-5.5-pro during model filtering for OAuth authentication.
The existing fallback logic for supported GPT models remains unchanged, so only the unsupported model is filtered out while API key authentication continues to expose all available models.
Also added regression tests covering:
Screenshots / Video
n/a (small change)
How to Test
Manual/local verification
Reviewer test steps
Blocked checks and substitute verification
No additional blockers encountered.
Checklist
Get in Touch
@travix26