Add Privacy Policy link to telementry opt-in.

pull/6848/head^2
Toran Bruce Richards 2024-02-14 16:42:34 +00:00
parent 67bafa6302
commit 32a627eda9
1 changed files with 6 additions and 3 deletions

View File

@ -16,9 +16,12 @@ def setup_telemetry() -> None:
allow_telemetry = click.prompt(
"❓ Do you want to enable telemetry? ❓\n"
"This means AutoGPT will send diagnostic data to the core development team "
"when something goes wrong, and will help us to diagnose and fix problems "
"earlier and faster.\n"
"Please enter 'yes' or 'no'",
"when something goes wrong,\nand will help us to diagnose and fix problems "
"earlier and faster.\n\n"
"By entering 'yes', you agree that you have read and agree to our Privacy"
" Policy available here:\n"
"https://www.notion.so/auto-gpt/Privacy-Policy-ab11c9c20dbd4de1a15dcffe84d77984"
"\n\nPlease enter 'yes' or 'no'",
type=bool,
)
set_env_config_value("TELEMETRY_OPT_IN", "true" if allow_telemetry else "false")