diff --git a/codex-rs/tui/src/chatwidget/tests.rs b/codex-rs/tui/src/chatwidget/tests.rs index ddae7e1b03..863b43386f 100644 --- a/codex-rs/tui/src/chatwidget/tests.rs +++ b/codex-rs/tui/src/chatwidget/tests.rs @@ -426,7 +426,7 @@ async fn thread_snapshot_replay_does_not_duplicate_agent_message_history() { #[tokio::test] async fn thread_snapshot_replay_deduplicates_agent_inbox_compatibility_items() { - let (mut chat, mut rx, _ops) = make_chatwidget_manual(None).await; + let (mut chat, mut rx, _ops) = make_chatwidget_manual(/*model_override*/ None).await; let sender = ThreadId::from_string("019cbff7-558b-77d3-8653-8238ab5361ec").expect("valid thread id"); diff --git a/codex-rs/tui/src/history_cell.rs b/codex-rs/tui/src/history_cell.rs index 5d6c8c7544..8d4e02d5ef 100644 --- a/codex-rs/tui/src/history_cell.rs +++ b/codex-rs/tui/src/history_cell.rs @@ -3619,8 +3619,8 @@ mod tests { latest_update_at: Instant::now(), }], })); - let cell = SubagentStatusCell::new(state, true); - let lines = render_lines(&cell.display_lines(120)); + let cell = SubagentStatusCell::new(state, /*animations_enabled*/ true); + let lines = render_lines(&cell.display_lines(/*width*/ 120)); assert!(lines[0].contains("no subagents running")); assert!(lines[1].contains("[watchdog] watchdog-agent idle")); @@ -3641,7 +3641,7 @@ mod tests { latest_update_at: Instant::now(), }], })); - let cell = SubagentStatusCell::new(state, true); + let cell = SubagentStatusCell::new(state, /*animations_enabled*/ true); assert_eq!(cell.transcript_animation_tick(), None); } @@ -3661,7 +3661,7 @@ mod tests { latest_update_at: Instant::now(), }], })); - let cell = SubagentStatusCell::new(state, true); + let cell = SubagentStatusCell::new(state, /*animations_enabled*/ true); assert!( cell.transcript_animation_tick().is_some(), @@ -3687,7 +3687,7 @@ mod tests { latest_update_at: stale_update, }], })); - let cell = SubagentStatusCell::new(state, true); + let cell = SubagentStatusCell::new(state, /*animations_enabled*/ true); assert_eq!(cell.transcript_animation_tick(), None); }