`/review` does not work with oss models

Resolved 💬 4 comments Opened Oct 5, 2025 by IceWreck Closed Jan 10, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What version of Codex is running?

codex-cli 0.44.0

Which model were you using?

gpt-oss-20b

What platform is your computer?

Linux 6.16.9-100.fc41.x86_64 x86_64 unknown

What steps can reproduce the bug?

configure an oss profile, make some changes to any code base and run /review

It attempts to use the gpt-5-codex model instead of the configured model for the profile.

>> Code review started: current changes <<

⚠️ stream error: unexpected status 400 Bad Request: could not find real modelID for gpt-5-codex; retrying 1/5 in 213ms…

⚠️ stream error: unexpected status 400 Bad Request: could not find real modelID for gpt-5-codex; retrying 2/5 in 373ms…

What is the expected behavior?

It uses my configured model to review (the same one it uses for codegen).

What do you see instead?

_No response_

Additional information

_No response_

View original on GitHub ↗

4 Comments

github-actions[bot] contributor · 10 months ago

Potential duplicates detected:

  • #4558

Powered by Codex Action

etraut-openai contributor · 9 months ago

We should provide a better error message here or disable /review when using a custom model provider. Changing to a bug.

Mushoz · 9 months ago

I don't believe that's the right approach. /review DOES work with a local model, but you have to configure a "review_model = " as a variable in the global configuration in codex's toml config. The 2 issues are:

  1. It's ondocumented
  2. Ideally, it should honor a review_model that is configured inside a profile, instead of only using the globally configured one
etraut-openai contributor · 7 months ago

We've documented review_model. Closing.