Compare commits

...

3 Commits

Author SHA1 Message Date
Peter Tripp
363530ea84 zed 0.158.1 2024-10-16 14:47:11 -04:00
gcp-cherry-pick-bot[bot]
7ce18afabf assistant: Direct user to account page to subscribe for more LLM usage (cherry-pick #19300) (#19301)
Cherry-picked assistant: Direct user to account page to subscribe for
more LLM usage (#19300)

This PR updates the location where we send the user to subscribe for
more LLM usage to the account page.

Release Notes:

- Updated the URL to the account page when subscribing to LLM usage.

Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>
2024-10-16 14:26:52 -04:00
Joseph T. Lyons
f9beb25fb0 v0.158.x preview 2024-10-16 12:47:43 -04:00
4 changed files with 5 additions and 5 deletions

2
Cargo.lock generated
View File

@@ -14577,7 +14577,7 @@ dependencies = [
[[package]]
name = "zed"
version = "0.158.0"
version = "0.158.1"
dependencies = [
"activity_indicator",
"anyhow",

View File

@@ -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();
},
)))

View File

@@ -2,7 +2,7 @@
description = "The fast, collaborative code editor."
edition = "2021"
name = "zed"
version = "0.158.0"
version = "0.158.1"
publish = false
license = "GPL-3.0-or-later"
authors = ["Zed Team <hi@zed.dev>"]

View File

@@ -1 +1 @@
dev
preview