From 08dad720db4512e60575beb6a06034835433628f Mon Sep 17 00:00:00 2001 From: Friel Date: Sat, 28 Mar 2026 12:01:49 -0700 Subject: [PATCH] fix(tui): set spawn mode in collab spawn replay --- codex-rs/tui/src/chatwidget.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/codex-rs/tui/src/chatwidget.rs b/codex-rs/tui/src/chatwidget.rs index cb5c039ce1..69e524a8ab 100644 --- a/codex-rs/tui/src/chatwidget.rs +++ b/codex-rs/tui/src/chatwidget.rs @@ -3663,6 +3663,7 @@ impl ChatWidget { .as_ref() .and_then(|metadata| metadata.agent_role.clone()), prompt: prompt.unwrap_or_default(), + spawn_mode: codex_protocol::protocol::AgentSpawnMode::Spawn, model: String::new(), reasoning_effort: ReasoningEffortConfig::Medium, status: first_receiver