mirror of
https://github.com/pchuan98/codex.git
synced 2026-07-01 00:31:56 +08:00
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:
committed by
GitHub
Unverified
parent
2686873e77
commit
5de7992ee5
@@ -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,
|
||||
|
||||
@@ -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()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user