From 239073f03a045d5de14be9a5f0bfbdf1d17eeb5a Mon Sep 17 00:00:00 2001 From: Ahmed Ibrahim Date: Wed, 19 Nov 2025 16:58:32 -0800 Subject: [PATCH 1/2] stop --- codex-rs/core/src/config/types.rs | 1 + codex-rs/tui/src/app.rs | 2 ++ 2 files changed, 3 insertions(+) diff --git a/codex-rs/core/src/config/types.rs b/codex-rs/core/src/config/types.rs index b7f16a9028..8f5077410e 100644 --- a/codex-rs/core/src/config/types.rs +++ b/codex-rs/core/src/config/types.rs @@ -379,6 +379,7 @@ pub struct Notice { /// Tracks whether the user has seen the model migration prompt pub hide_gpt5_1_migration_prompt: Option, /// Tracks whether the user has seen the gpt-5.1-codex-max migration prompt + #[serde(rename = "hide_gpt-5.1-codex-max_migration_prompt")] pub hide_gpt_5_1_codex_max_migration_prompt: Option, } diff --git a/codex-rs/tui/src/app.rs b/codex-rs/tui/src/app.rs index 7c86dd3b6e..5e5f55b641 100644 --- a/codex-rs/tui/src/app.rs +++ b/codex-rs/tui/src/app.rs @@ -52,6 +52,7 @@ use std::thread; use std::time::Duration; use tokio::select; use tokio::sync::mpsc::unbounded_channel; +use tracing::error; #[cfg(not(debug_assertions))] use crate::history_cell::UpdateAvailableHistoryCell; @@ -107,6 +108,7 @@ fn should_show_model_migration_prompt( fn migration_prompt_hidden(config: &Config, migration_config_key: &str) -> Option { match migration_config_key { HIDE_GPT_5_1_CODEX_MAX_MIGRATION_PROMPT_CONFIG => { + error!("migration_prompt_hidden: {:?}", config.notices); config.notices.hide_gpt_5_1_codex_max_migration_prompt } HIDE_GPT5_1_MIGRATION_PROMPT_CONFIG => config.notices.hide_gpt5_1_migration_prompt, From 9310c75606d14af024d119c284f5e883c9f0a7b2 Mon Sep 17 00:00:00 2001 From: Ahmed Ibrahim Date: Wed, 19 Nov 2025 17:00:04 -0800 Subject: [PATCH 2/2] stop --- codex-rs/tui/src/app.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/codex-rs/tui/src/app.rs b/codex-rs/tui/src/app.rs index 5e5f55b641..7c86dd3b6e 100644 --- a/codex-rs/tui/src/app.rs +++ b/codex-rs/tui/src/app.rs @@ -52,7 +52,6 @@ use std::thread; use std::time::Duration; use tokio::select; use tokio::sync::mpsc::unbounded_channel; -use tracing::error; #[cfg(not(debug_assertions))] use crate::history_cell::UpdateAvailableHistoryCell; @@ -108,7 +107,6 @@ fn should_show_model_migration_prompt( fn migration_prompt_hidden(config: &Config, migration_config_key: &str) -> Option { match migration_config_key { HIDE_GPT_5_1_CODEX_MAX_MIGRATION_PROMPT_CONFIG => { - error!("migration_prompt_hidden: {:?}", config.notices); config.notices.hide_gpt_5_1_codex_max_migration_prompt } HIDE_GPT5_1_MIGRATION_PROMPT_CONFIG => config.notices.hide_gpt5_1_migration_prompt,