Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
agent: Improve consecutive tool use callout spacing (#30145)
Agus Zubiaga77ac82587a33
diff --git a/crates/agent/src/assistant_panel.rs b/crates/agent/src/assistant_panel.rsindex 9752d4385e8..6ce121dea7a 100644--- a/crates/agent/src/assistant_panel.rs+++ b/crates/agent/src/assistant_panel.rs@@ -2338,14 +2338,13 @@ impl AssistantPanel {""};- Some(- Banner::new()- .severity(ui::Severity::Info)- .child(h_flex().child(Label::new(format!(- "Consecutive tool use limit reached.{max_mode_upsell}"- ))))- .into_any_element(),- )+ let banner = Banner::new()+ .severity(ui::Severity::Info)+ .child(h_flex().child(Label::new(format!(+ "Consecutive tool use limit reached.{max_mode_upsell}"+ ))));++ Some(div().px_2().pb_2().child(banner).into_any_element())}fn render_last_error(&self, cx: &mut Context<Self>) -> Option<AnyElement> {