lint(agent): Fix telemetry.py linting error & formatting

This commit is contained in:
Reinier van der Leer
2024-02-14 23:31:35 +01:00
parent 32a627eda9
commit 6a09a44ef7

View File

@@ -16,12 +16,14 @@ 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,\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'",
"when something goes wrong,\n"
"and will help us to diagnose and fix problems earlier and faster.\n"
"\n"
"By entering 'yes', you confirm that you have read and agree to our "
"Privacy Policy, which is available here:\n"
"https://www.notion.so/auto-gpt/Privacy-Policy-ab11c9c20dbd4de1a15dcffe84d77984\n" # noqa
"\n"
"Please enter 'yes' or 'no'",
type=bool,
)
set_env_config_value("TELEMETRY_OPT_IN", "true" if allow_telemetry else "false")