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 incorrect hotkeys kwarg

Dillon DuPont82442d5f0da4
diff --git a/libs/computer-server/computer_server/handlers/linux.py b/libs/computer-server/computer_server/handlers/linux.py
index 57110ee3c5..6a893fc0b0 100644
--- a/libs/computer-server/computer_server/handlers/linux.py
+++ b/libs/computer-server/computer_server/handlers/linux.py
@@ -168,7 +168,7 @@ class LinuxAutomationHandler(BaseAutomationHandler):
except Exception as e:
return {"success": False, "error": str(e)}
- async def hotkey(self, *keys: str) -> Dict[str, Any]:
+ async def hotkey(self, keys: List[str]) -> Dict[str, Any]:
try:
pyautogui.hotkey(*keys)
return {"success": True}