Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

Update subtitle of model picker as part of the nux (#6567)

Ahmed Ibrahim966d71c02acf
diff --git a/codex-rs/tui/src/chatwidget.rs b/codex-rs/tui/src/chatwidget.rs
index cc45694e64..37c8329490 100644
--- a/codex-rs/tui/src/chatwidget.rs
+++ b/codex-rs/tui/src/chatwidget.rs
@@ -1855,7 +1855,10 @@ impl ChatWidget {
self.bottom_pane.show_selection_view(SelectionViewParams {
title: Some("Select Model and Effort".to_string()),
- subtitle: Some("Switch the model for this and future Codex CLI sessions".to_string()),
+ subtitle: Some(
+ "Access legacy models by running codex -m <model_name> or in your config"
+ .to_string(),
+ ),
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.snap
index 70587b9b40..56be5c875a 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
@@ -3,7 +3,7 @@ source: tui/src/chatwidget/tests.rs
expression: popup
---
Select Model and Effort
- Switch the model for this and future Codex CLI sessions
+ Access legacy models by running codex -m <model_name> or in your config
› 1. gpt-5-codex (current) Optimized for codex.
2. gpt-5 Broad world knowledge with strong general