Skip to content

review feature requires gpt-5-codex #3918

Closed

Description

@tonyredondo

What version of Codex is running?

0.39.0

Which model were you using?

gpt-5

What platform is your computer?

macos

What steps can reproduce the bug?

use codex using a normal api key, switch to the model of preference and try the new /review command:

> Model changed to gpt-5

>> Code review started: current changes <<

⚠️ stream error: stream disconnected before completion: The model `gpt-5-codex` does not exist or you do not have access to it.; retrying 1/5 in 216ms…

⚠️ stream error: stream disconnected before completion: The model `gpt-5-codex` does not exist or you do not have access to it.; retrying 2/5 in 382ms…

⚠️ stream error: stream disconnected before completion: The model `gpt-5-codex` does not exist or you do not have access to it.; retrying 3/5 in 728ms…

⚠️ stream error: stream disconnected before completion: The model `gpt-5-codex` does not exist or you do not have access to it.; retrying 4/5 in 1.586s…

⚠️ stream error: stream disconnected before completion: The model `gpt-5-codex` does not exist or you do not have access to it.; retrying 5/5 in 3.116s…

■ stream disconnected before completion: The model `gpt-5-codex` does not exist or you do not have access to it.

<< Code review finished >>

What is the expected behavior?

to bailout if the model is required or just to run the command with the selected model.

What do you see instead?

error messages from the http transport

Additional information

No response

Activity

  1. MaurUppi commented on Sep 20, 2025

    @MaurUppi

    So far, I recall that GPT-5-Codex is not available for API users, and it's an expected issue.
    But you can try codex -m gpt-5-codex

  2. added
    enhancementNew feature or request
    and removed
    bugSomething isn't working
    on Sep 23, 2025
  3. dedrisian-oai commented on Sep 30, 2025

    @dedrisian-oai
    Contributor

    You can try with setting review_model in your config.toml to another model 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions