assistant: Adjust terms of service notice (#16235)
Co-Authored-by: Max <max@zed.dev> Co-Authored-by: Marshall <marshall@zed.dev> Co-Authored-by: Peter <peter@zed.dev> <img width="396" alt="image" src="https://github.com/user-attachments/assets/62282506-c74a-455e-ae4d-0438d47fed96"> Release Notes: - N/A Co-authored-by: Max <max@zed.dev> Co-authored-by: Marshall <marshall@zed.dev> Co-authored-by: Peter <peter@zed.dev>
This commit is contained in:
parent
66e750eea2
commit
ccd8f75cff
1 changed files with 10 additions and 5 deletions
|
@ -256,9 +256,9 @@ impl LanguageModelProvider for CloudLanguageModelProvider {
|
||||||
let state = self.state.read(cx);
|
let state = self.state.read(cx);
|
||||||
|
|
||||||
let terms = [(
|
let terms = [(
|
||||||
"anthropic_terms_of_service",
|
"terms_of_service",
|
||||||
"Anthropic Terms of Service",
|
"Terms of Service",
|
||||||
"https://www.anthropic.com/legal/consumer-terms",
|
"https://zed.dev/terms-of-service",
|
||||||
)]
|
)]
|
||||||
.map(|(id, label, url)| {
|
.map(|(id, label, url)| {
|
||||||
Button::new(id, label)
|
Button::new(id, label)
|
||||||
|
@ -278,8 +278,13 @@ impl LanguageModelProvider for CloudLanguageModelProvider {
|
||||||
.gap_2()
|
.gap_2()
|
||||||
.child(
|
.child(
|
||||||
v_flex()
|
v_flex()
|
||||||
.child(Label::new("Terms & Conditions").weight(FontWeight::MEDIUM))
|
.child(Label::new("Terms and 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(
|
||||||
|
"Please read and accept our terms and conditions to continue.",
|
||||||
|
)
|
||||||
|
.size(LabelSize::Small),
|
||||||
|
),
|
||||||
)
|
)
|
||||||
.child(v_flex().gap_1().children(terms))
|
.child(v_flex().gap_1().children(terms))
|
||||||
.child(
|
.child(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue