diff --git a/codex-rs/tui/src/chatwidget/tests.rs b/codex-rs/tui/src/chatwidget/tests.rs index f54ff53745..91aa0fac80 100644 --- a/codex-rs/tui/src/chatwidget/tests.rs +++ b/codex-rs/tui/src/chatwidget/tests.rs @@ -2328,6 +2328,7 @@ async fn collab_spawn_end_shows_requested_model_and_effort() { call_id: "call-spawn".to_string(), sender_thread_id, prompt: "Explore the repo".to_string(), + spawn_mode: codex_protocol::protocol::AgentSpawnMode::Spawn, model: "gpt-5".to_string(), reasoning_effort: ReasoningEffortConfig::High, }), @@ -2341,6 +2342,7 @@ async fn collab_spawn_end_shows_requested_model_and_effort() { new_agent_nickname: Some("Robie".to_string()), new_agent_role: Some("explorer".to_string()), prompt: "Explore the repo".to_string(), + spawn_mode: codex_protocol::protocol::AgentSpawnMode::Spawn, model: "gpt-5".to_string(), reasoning_effort: ReasoningEffortConfig::High, status: AgentStatus::PendingInit, diff --git a/codex-rs/tui/src/multi_agents.rs b/codex-rs/tui/src/multi_agents.rs index 293c80fcf0..f1268e4c9a 100644 --- a/codex-rs/tui/src/multi_agents.rs +++ b/codex-rs/tui/src/multi_agents.rs @@ -609,6 +609,7 @@ mod tests { new_agent_nickname: Some("Robie".to_string()), new_agent_role: Some("explorer".to_string()), prompt: "Compute 11! and reply with just the integer result.".to_string(), + spawn_mode: AgentSpawnMode::Spawn, model: "gpt-5".to_string(), reasoning_effort: ReasoningEffortConfig::High, status: AgentStatus::PendingInit, @@ -747,6 +748,7 @@ mod tests { new_agent_nickname: Some("Robie".to_string()), new_agent_role: Some("explorer".to_string()), prompt: String::new(), + spawn_mode: AgentSpawnMode::Spawn, model: "gpt-5".to_string(), reasoning_effort: ReasoningEffortConfig::High, status: AgentStatus::PendingInit,