This commit is contained in:
Thibault Sottiaux
2025-09-12 22:44:05 -07:00
parent 3d4acbaea0
commit 19b4ed3c96
4 changed files with 34 additions and 16 deletions

View File

@@ -1,7 +1,7 @@
use crate::tui::FrameRequester;
use crate::tui::Tui;
use crate::tui::TuiEvent;
use codex_core::config::GPT5_HIGH_MODEL;
use codex_core::config::SWIFTFOX_MEDIUM_MODEL;
use color_eyre::eyre::Result;
use crossterm::event::KeyCode;
use crossterm::event::KeyEvent;
@@ -83,7 +83,8 @@ impl WidgetRef for &ModelUpgradePopup {
let mut lines: Vec<Line> = vec![
String::new().into(),
format!(" Codex is now powered by {GPT5_HIGH_MODEL}, a new model that is").into(),
format!(" Codex is now powered by {SWIFTFOX_MEDIUM_MODEL}, a new model that is")
.into(),
Line::from(vec![
" ".into(),
"faster, a better collaborator, ".bold(),
@@ -108,7 +109,7 @@ impl WidgetRef for &ModelUpgradePopup {
lines.push(create_option(
0,
ModelUpgradeOption::TryNewModel,
&format!("Yes, switch me to {GPT5_HIGH_MODEL}"),
&format!("Yes, switch me to {SWIFTFOX_MEDIUM_MODEL}"),
));
lines.push(create_option(
1,