agent: Improve consecutive tool use callout spacing (#30145)
Release Notes: - agent: Fix "consecutive tool use limit" callout spacing
This commit is contained in:
parent
7c76cee16d
commit
77ac82587a
1 changed files with 7 additions and 8 deletions
|
@ -2338,14 +2338,13 @@ impl AssistantPanel {
|
||||||
""
|
""
|
||||||
};
|
};
|
||||||
|
|
||||||
Some(
|
let banner = Banner::new()
|
||||||
Banner::new()
|
.severity(ui::Severity::Info)
|
||||||
.severity(ui::Severity::Info)
|
.child(h_flex().child(Label::new(format!(
|
||||||
.child(h_flex().child(Label::new(format!(
|
"Consecutive tool use limit reached.{max_mode_upsell}"
|
||||||
"Consecutive tool use limit reached.{max_mode_upsell}"
|
))));
|
||||||
))))
|
|
||||||
.into_any_element(),
|
Some(div().px_2().pb_2().child(banner).into_any_element())
|
||||||
)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fn render_last_error(&self, cx: &mut Context<Self>) -> Option<AnyElement> {
|
fn render_last_error(&self, cx: &mut Context<Self>) -> Option<AnyElement> {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue