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.

Fix nonexistant kwarg

Dillon DuPontcd5c0fbb2a94
diff --git a/libs/python/computer-server/computer_server/watchdog.py b/libs/python/computer-server/computer_server/watchdog.py
index bfa9fc65c8..a53c30428e 100644
--- a/libs/python/computer-server/computer_server/watchdog.py
+++ b/libs/python/computer-server/computer_server/watchdog.py
@@ -89,14 +89,13 @@ class Watchdog:
try:
# Create a simple ping message
ping_message = {
- "type": "ping",
- "timestamp": time.time()
+ "command": "get_screen_size",
+ "params": {}
}
# Try to connect to the WebSocket
async with websockets.connect(
self.ws_uri,
- timeout=10,
max_size=1024 * 1024 * 10 # 10MB limit to match server
) as websocket:
# Send ping message