diff --git a/crates/agent_ui/src/agent_panel.rs b/crates/agent_ui/src/agent_panel.rs index b7efbb65d4caab2ff59d3eb809ae5920e4f99bc5..5569ab7b10a4048900f360435b1490817433cb61 100644 --- a/crates/agent_ui/src/agent_panel.rs +++ b/crates/agent_ui/src/agent_panel.rs @@ -2040,7 +2040,7 @@ impl AgentPanel { let mut entry = ContextMenuEntry::new(format!("New {} Thread", agent_name)); if let Some(icon_path) = icon_path { - entry = entry.custom_icon_path(icon_path); + entry = entry.custom_icon_svg(icon_path); } else { entry = entry.icon(IconName::Terminal); }