diff --git a/crates/agent/src/assistant_panel.rs b/crates/agent/src/assistant_panel.rs index 2cc1466e8a1ff197077603aa03ed041f095ec389..d8955fb40bf6aed3b0c73ce2491919bcb1826981 100644 --- a/crates/agent/src/assistant_panel.rs +++ b/crates/agent/src/assistant_panel.rs @@ -1805,6 +1805,10 @@ impl AssistantPanel { } fn should_render_upsell(&self, cx: &mut Context) -> bool { + if !matches!(self.active_view, ActiveView::Thread { .. }) { + return false; + } + if self.hide_trial_upsell || dismissed_trial_upsell() { return false; }