Use current model for review (#9179)

Instead of having a hard-coded default review model, use the current
model for running `/review` unless one is specified in the config.

Also inherit current reasoning effort
This commit is contained in:
pakrym-oai authored and GitHub committed 2026-01-14 08:59:41 -08:00
1 parent e1447c3009
commit 92472e7baa
5 files changed
+75 -26

No files matched your search

@@ -3421,7 +3421,9 @@ impl CodexMessageProcessor {
})?;
let mut config = self.config.as_ref().clone();
config.model = Some(self.config.review_model.clone());
if let Some(review_model) = &config.review_model {
config.model = Some(review_model.clone());
}
let NewThread {
thread_id,