fix(tui): set persist_extended_history: false (#20502)

Large rollouts are no good. This updates the TUI to behave the same as
the Codex App, which is also turning it off.
This commit is contained in:
Owen Lin
2026-04-30 16:31:31 -07:00
committed by GitHub
Unverified
parent 2686873e77
commit 5de7992ee5
2 changed files with 4 additions and 4 deletions
@@ -2590,7 +2590,7 @@ impl CodexMessageProcessor {
initial_history: InitialHistory::Forked(rollout_items),
session_source: None,
dynamic_tools: Vec::new(),
persist_extended_history: true,
persist_extended_history: false,
metrics_service_name: None,
parent_trace: None,
environments,
+3 -3
View File
@@ -1175,7 +1175,7 @@ fn thread_start_params_from_config(
config: config_request_overrides_from_config(config),
ephemeral: Some(config.ephemeral),
session_start_source,
persist_extended_history: true,
persist_extended_history: false,
..ThreadStartParams::default()
}
}
@@ -1206,7 +1206,7 @@ fn thread_resume_params_from_config(
sandbox,
permissions,
config: config_request_overrides_from_config(&config),
persist_extended_history: true,
persist_extended_history: false,
..ThreadResumeParams::default()
}
}
@@ -1240,7 +1240,7 @@ fn thread_fork_params_from_config(
base_instructions: config.base_instructions.clone(),
developer_instructions: config.developer_instructions.clone(),
ephemeral: config.ephemeral,
persist_extended_history: true,
persist_extended_history: false,
..ThreadForkParams::default()
}
}