fix: NIT None reasoning effort (#3536)

Fix the reasoning effort not being set to None in the UI
This commit is contained in:
jif-oai
2025-09-12 14:17:49 -07:00
committed by GitHub
parent 8408f3e8ed
commit 8d56d2f655
2 changed files with 3 additions and 2 deletions

View File

@@ -380,11 +380,12 @@ async fn run_ratatui_app(
if switch_to_new_model {
config.model = GPT5_HIGH_MODEL.to_owned();
config.model_reasoning_effort = None;
if let Err(e) = persist_model_selection(
&config.codex_home,
active_profile.as_deref(),
&config.model,
None,
config.model_reasoning_effort,
)
.await
{