mirror of
https://github.com/trycua/computer.git
synced 2026-01-03 03:49:58 -06:00
Temporary macOS assert for app-use
This commit is contained in:
@@ -98,6 +98,9 @@ class Computer:
|
||||
|
||||
self.api_key = api_key
|
||||
self.experiments = experiments or []
|
||||
|
||||
if "app-use" in self.experiments:
|
||||
assert self.os_type == "macos", "App use experiment is only supported on macOS"
|
||||
|
||||
# The default is currently to use non-ephemeral storage
|
||||
if storage and ephemeral and storage != "ephemeral":
|
||||
|
||||
Reference in New Issue
Block a user