Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.
Rust agentai-agentapplecomputer-usecomputer-use-agentcontainerizationcuadesktop-automationhacktoberfestlumemacosmanusoperatorswiftvirtualizationvirtualization-frameworkwindowswindows-sandbox
Add check for legacy environment variable
James Murdza53c53e8df483
diff --git a/libs/python/core/core/telemetry/telemetry.py b/libs/python/core/core/telemetry/telemetry.pyindex c04423f8c5..c92f49b86f 100644--- a/libs/python/core/core/telemetry/telemetry.py+++ b/libs/python/core/core/telemetry/telemetry.py@@ -60,6 +60,9 @@ def is_telemetry_globally_disabled() -> bool:Returns:bool: True if telemetry is globally disabled, False otherwise"""+ # Check legacy environment variable for telemetry opt-out+ if os.environ.get("CUA_TELEMETRY", "").lower() == "off":+ return True# Only check for CUA_TELEMETRY_ENABLED - telemetry is enabled only if explicitly set to a truthy valuetelemetry_enabled = os.environ.get("CUA_TELEMETRY_ENABLED", "true").lower()return telemetry_enabled not in ("1", "true", "yes", "on")