diff --git a/codex-rs/core/src/codex.rs b/codex-rs/core/src/codex.rs index 044ff38c62..04886f6b09 100644 --- a/codex-rs/core/src/codex.rs +++ b/codex-rs/core/src/codex.rs @@ -1157,22 +1157,6 @@ async fn submission_loop( // Install the new persistent context for subsequent tasks/turns. turn_context = Arc::new(new_turn_context); - - // Optionally persist changes to model / effort - let effort_str = effort.map(|_| effective_effort.to_string()); - - if let Err(e) = persist_non_null_overrides( - &config.codex_home, - config.active_profile.as_deref(), - &[ - (&[CONFIG_KEY_MODEL], model.as_deref()), - (&[CONFIG_KEY_EFFORT], effort_str.as_deref()), - ], - ) - .await - { - warn!("failed to persist overrides: {e:#}"); - } } Op::UserInput { items } => { submit_user_input(