diff --git a/crates/agent_ui/src/agent_panel.rs b/crates/agent_ui/src/agent_panel.rs index 9f7c6caaa8a0be8836f650ba880a863ff7b33059..10b64400b2cb3fc8887f4d59a2db126881dfe29e 100644 --- a/crates/agent_ui/src/agent_panel.rs +++ b/crates/agent_ui/src/agent_panel.rs @@ -2081,7 +2081,7 @@ impl AgentPanel { let mut entry = ContextMenuEntry::new(format!("New {}", 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); }