From ccd8f75cffa6609f4c9c37d069218bfb5db43dfa Mon Sep 17 00:00:00 2001 From: Bennet Bo Fenner Date: Wed, 14 Aug 2024 19:21:07 +0200 Subject: [PATCH] assistant: Adjust terms of service notice (#16235) Co-Authored-by: Max Co-Authored-by: Marshall Co-Authored-by: Peter image Release Notes: - N/A Co-authored-by: Max Co-authored-by: Marshall Co-authored-by: Peter --- crates/language_model/src/provider/cloud.rs | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/crates/language_model/src/provider/cloud.rs b/crates/language_model/src/provider/cloud.rs index c96662624d..6d51bc6e6b 100644 --- a/crates/language_model/src/provider/cloud.rs +++ b/crates/language_model/src/provider/cloud.rs @@ -256,9 +256,9 @@ impl LanguageModelProvider for CloudLanguageModelProvider { let state = self.state.read(cx); let terms = [( - "anthropic_terms_of_service", - "Anthropic Terms of Service", - "https://www.anthropic.com/legal/consumer-terms", + "terms_of_service", + "Terms of Service", + "https://zed.dev/terms-of-service", )] .map(|(id, label, url)| { Button::new(id, label) @@ -278,8 +278,13 @@ impl LanguageModelProvider for CloudLanguageModelProvider { .gap_2() .child( v_flex() - .child(Label::new("Terms & Conditions").weight(FontWeight::MEDIUM)) - .child(Label::new("Please read and accept the terms and conditions of Zed AI and our provider partners to continue.").size(LabelSize::Small)) + .child(Label::new("Terms and Conditions").weight(FontWeight::MEDIUM)) + .child( + Label::new( + "Please read and accept our terms and conditions to continue.", + ) + .size(LabelSize::Small), + ), ) .child(v_flex().gap_1().children(terms)) .child(