diff --git a/codex-rs/tui/src/chatwidget/tests.rs b/codex-rs/tui/src/chatwidget/tests.rs index 91aa0fac80..633f7dd6b0 100644 --- a/codex-rs/tui/src/chatwidget/tests.rs +++ b/codex-rs/tui/src/chatwidget/tests.rs @@ -2328,7 +2328,6 @@ 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, }), diff --git a/codex-rs/tui/src/multi_agents.rs b/codex-rs/tui/src/multi_agents.rs index f1268e4c9a..cb889b7243 100644 --- a/codex-rs/tui/src/multi_agents.rs +++ b/codex-rs/tui/src/multi_agents.rs @@ -583,6 +583,7 @@ fn status_summary_spans(status: &AgentStatus) -> Vec> { mod tests { use super::*; use crate::history_cell::HistoryCell; + use codex_protocol::protocol::AgentSpawnMode; #[cfg(target_os = "macos")] use crossterm::event::KeyEvent; #[cfg(target_os = "macos")]