Skip to content

Warn when a CLI model is absent from the ChatGPT model list - #60270

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/bb1e8c415346bf271e25ef4e8571c13b4bc2c8c8
Nov 8, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/bb1e8c415346bf271e25ef4e8571c13b4bc2c8c8

Conversation

@copyberry

@copyberry copyberry Bot commented Nov 8, 2026 •

Copy link
Copy Markdown

Warn when a CLI model is absent from the ChatGPT model list

What changed

Show a startup warning when the active model matches the CLI model override but is missing from the ChatGPT model list, for ChatGPT accounts using the OpenAI provider. Suggest checking the spelling or choosing another model with /model, while preserving the selected model and submitting queued startup input.

Reuse the transcript-visible warning helper for this notice and existing usage warnings.

Testing

Extend the startup test to check the warning text, preserved model selection, and queued input submission.

## What changed

Show a startup warning when the active model matches the CLI model override but is missing from the ChatGPT model list, for ChatGPT accounts using the OpenAI provider. Suggest checking the spelling or choosing another model with `/model`, while preserving the selected model and submitting queued startup input.

Reuse the transcript-visible warning helper for this notice and existing usage warnings.

## Testing

Extend the startup test to check the warning text, preserved model selection, and queued input submission.

GitOrigin-RevId: bb1e8c415346bf271e25ef4e8571c13b4bc2c8c8
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/bb1e8c415346bf271e25ef4e8571c13b4bc2c8c8 branch from 7e0e978 to a73fa8a Compare November 8, 2026 17:18
@copyberry
copyberry Bot merged commit a73fa8a into main Nov 8, 2026
1 check passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/bb1e8c415346bf271e25ef4e8571c13b4bc2c8c8 branch November 8, 2026 17:18
@chatgpt-codex-connector

Copy link
Copy Markdown
Contributor
Codex Review Summary: 🔄 Running

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review 🔄 Running since 2026-11-08T17:18:07.216982Z 7e0e978 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions github-actions Bot locked and limited conversation to collaborators Nov 8, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant