Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
agent_ui: Clarify multi-root agent warning text (#57874)
Ben Brandtbedfe32fdc51
diff --git a/crates/agent_ui/src/conversation_view/thread_view.rs b/crates/agent_ui/src/conversation_view/thread_view.rsindex 5fabb8f4569..a90fef49bd9 100644--- a/crates/agent_ui/src/conversation_view/thread_view.rs+++ b/crates/agent_ui/src/conversation_view/thread_view.rs@@ -9464,17 +9464,15 @@ impl ThreadView {.map(|name| name.to_string_lossy().to_string()).unwrap_or_else(|| "one folder".to_string());- let description = format!(- "This agent only operates on \"{}\". Other folders in this workspace are not accessible to it.",- active_dir- );-Some(Callout::new().severity(Severity::Warning).icon(IconName::Warning)- .title("External Agents currently don't support multi-root workspaces")- .description(description)+ .title("This agent doesn't currently support multi-root workspaces")+ .description(format!(+ "It currently only operates by default on \"{}\".",+ active_dir+ )).border_position(ui::BorderPosition::Bottom).dismiss_action(IconButton::new("dismiss-multi-root-callout", IconName::Close)