Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
assistant: Direct user to account page to subscribe for more LLM usage (#19300)
Marshall Bowersd35b646dbba5
diff --git a/crates/assistant/src/assistant_panel.rs b/crates/assistant/src/assistant_panel.rsindex 943cbbb29ff..a3e189287f4 100644--- a/crates/assistant/src/assistant_panel.rs+++ b/crates/assistant/src/assistant_panel.rs@@ -4347,7 +4347,7 @@ impl ContextEditor {fn render_payment_required_error(&self, cx: &mut ViewContext<Self>) -> AnyElement {const ERROR_MESSAGE: &str = "Free tier exceeded. Subscribe and add payment to continue using Zed LLMs. You'll be billed at cost for tokens used.";- const SUBSCRIBE_URL: &str = "https://zed.dev/api/billing/initiate_checkout";+ const ACCOUNT_URL: &str = "https://zed.dev/account";v_flex().gap_0p5()@@ -4372,7 +4372,7 @@ impl ContextEditor {.child(Button::new("subscribe", "Subscribe").on_click(cx.listener(|this, _, cx| {this.last_error = None;- cx.open_url(SUBSCRIBE_URL);+ cx.open_url(ACCOUNT_URL);cx.notify();},)))