Skip to content

/review command fails on Azure deployment 0.39.0 #3920

Closed

Description

@kingdomseed

What version of Codex is running?

0.39.0

Which model were you using?

gpt-5

What platform is your computer?

macOS 26

What steps can reproduce the bug?

  • Configure Codex to use a gpt-5 deployment on Azure in config.toml
  • Launch codex --profile azure
  • Type /review
  • Hit return

What is the expected behavior?

Codex performs a code review

What do you see instead?

Code review started: current changes <<

⚠️ stream error: unexpected status 404 Not Found: {"error":{"code":"DeploymentNotFound","message":"The API deployment for this resource does not exist. If you created the deployment within the last 5 minutes, please wait
a moment and try again."}}; retrying 1/5 in 187ms…

⚠️ stream error: unexpected status 404 Not Found: {"error":{"code":"DeploymentNotFound","message":"The API deployment for this resource does not exist. If you created the deployment within the last 5 minutes, please wait
a moment and try again."}}; retrying 2/5 in 413ms…

⚠️ stream error: unexpected status 404 Not Found: {"error":{"code":"DeploymentNotFound","message":"The API deployment for this resource does not exist. If you created the deployment within the last 5 minutes, please wait
a moment and try again."}}; retrying 3/5 in 783ms…

⚠️ stream error: unexpected status 404 Not Found: {"error":{"code":"DeploymentNotFound","message":"The API deployment for this resource does not exist. If you created the deployment within the last 5 minutes, please wait
a moment and try again."}}; retrying 4/5 in 1.68s…

⚠️ stream error: unexpected status 404 Not Found: {"error":{"code":"DeploymentNotFound","message":"The API deployment for this resource does not exist. If you created the deployment within the last 5 minutes, please wait
a moment and try again."}}; retrying 5/5 in 2.955s…

■ unexpected status 404 Not Found: {"error":{"code":"DeploymentNotFound","message":"The API deployment for this resource does not exist. If you created the deployment within the last 5 minutes, please wait a moment and
try again."}}

<< Code review finished >>

Additional information

This specific command fails but otherwise the model deployment works correctly in Codex otherwise.

Activity

  1. added
    bug
    on Sep 19, 2025
  2. nikhil-pandey commented on Sep 19, 2025

    @nikhil-pandey

    +1. Any workarounds?

    Update: I deployed gpt-5 with deployment name gpt-5-codex as a workaround
    Update: There's a new config review_model = "your-preferred-model"

  3. added
    azure
    on Sep 23, 2025
  4. dedrisian-oai commented on Sep 30, 2025

    @dedrisian-oai
    Contributor

    Correct, review_model would be what you should set 👍

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

    azurebug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions