This commit is contained in:
Ahmed Ibrahim
2025-09-12 14:02:12 -04:00
parent 67a8566f59
commit 3316d04ed4

View File

@@ -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(