Lightweight coding agent that runs in your terminal
Rust
Fix reasoning effort title (#4694)
dedrisian-oaifae0e6c52c7d
diff --git a/codex-rs/tui/src/chatwidget.rs b/codex-rs/tui/src/chatwidget.rsindex 79ee810fa2..2237c678c7 100644--- a/codex-rs/tui/src/chatwidget.rs+++ b/codex-rs/tui/src/chatwidget.rs@@ -1640,9 +1640,9 @@ impl ChatWidget {}self.bottom_pane.show_selection_view(SelectionViewParams {- title: Some("Select Model".to_string()),+ title: Some("Select Model and Effort".to_string()),subtitle: Some("Switch the model for this and future Codex CLI sessions".to_string()),- footer_hint: Some(standard_popup_hint_line()),+ footer_hint: Some("Press enter to select reasoning effort, or esc to dismiss.".into()),items,..Default::default()});diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__model_selection_popup.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__model_selection_popup.snapindex 60c886820c..d4ca0491ee 100644--- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__model_selection_popup.snap+++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__model_selection_popup.snap@@ -2,11 +2,11 @@source: tui/src/chatwidget/tests.rsexpression: popup---- Select Model+ Select Model and EffortSwitch the model for this and future Codex CLI sessions› 1. gpt-5-codex (current) Optimized for coding tasks with many tools.2. gpt-5 Broad world knowledge with strong generalreasoning.- Press enter to confirm or esc to go back+ Press enter to select reasoning effort, or esc to dismiss.diff --git a/codex-rs/tui/src/chatwidget/tests.rs b/codex-rs/tui/src/chatwidget/tests.rsindex ef24c82f53..a17e0a757a 100644--- a/codex-rs/tui/src/chatwidget/tests.rs+++ b/codex-rs/tui/src/chatwidget/tests.rs@@ -1046,7 +1046,7 @@ fn reasoning_popup_escape_returns_to_model_popup() {chat.handle_key_event(KeyEvent::new(KeyCode::Esc, KeyModifiers::NONE));let after_escape = render_bottom_popup(&chat, 80);- assert!(after_escape.contains("Select Model"));+ assert!(after_escape.contains("Select Model and Effort"));assert!(!after_escape.contains("Select Reasoning Level"));}