Skip to content

armgit / cua

Public Imported from GitHub
0

Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.

fixed wrong kwarg

Dillon DuPontc0d46a56b82d
diff --git a/libs/computer-server/computer_server/diorama/diorama.py b/libs/computer-server/computer_server/diorama/diorama.py
index 711ba410a7..7ee5ef8484 100644
--- a/libs/computer-server/computer_server/diorama/diorama.py
+++ b/libs/computer-server/computer_server/diorama/diorama.py
@@ -195,7 +195,7 @@ class Diorama:
async def press_key(self, key):
await self._send_cmd("press_key", {"key": key})
- async def hotkey(self, *keys):
+ async def hotkey(self, keys):
await self._send_cmd("hotkey", {"keys": list(keys)})
async def get_screen_size(self) -> dict[str, int]: