diff --git a/codex-rs/tui/src/app.rs b/codex-rs/tui/src/app.rs index 77781b9456..4ce8771d06 100644 --- a/codex-rs/tui/src/app.rs +++ b/codex-rs/tui/src/app.rs @@ -1803,7 +1803,7 @@ impl App { thread_id, config_snapshot.session_source.get_nickname(), config_snapshot.session_source.get_agent_role(), - false, + /*is_closed*/ false, ); } } diff --git a/codex-rs/tui/src/app/btw.rs b/codex-rs/tui/src/app/btw.rs index d58d291389..3230fb949f 100644 --- a/codex-rs/tui/src/app/btw.rs +++ b/codex-rs/tui/src/app/btw.rs @@ -204,7 +204,7 @@ impl App { } else { self.server .fork_thread( - /*nth_user_message*/ usize::MAX, + ForkSnapshot::TruncateBeforeNthUserMessage(usize::MAX), self.config.clone(), parent_rollout_path.clone(), /*persist_extended_history*/ false,