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 url in server

Dillon DuPontbf2dbb1e5109
diff --git a/libs/computer-server/computer_server/main.py b/libs/computer-server/computer_server/main.py
index 0d947d60cb..ac09cc787c 100644
--- a/libs/computer-server/computer_server/main.py
+++ b/libs/computer-server/computer_server/main.py
@@ -99,12 +99,10 @@ async def websocket_endpoint(websocket: WebSocket):
try:
async with aiohttp.ClientSession() as session:
headers = {"Authorization": f"Bearer {client_api_key}"}
- params = {"vm_name": vm_name}
async with session.get(
- "https://trycua.com/api/vm-host",
+ f"https://www.trycua.com/api/vm-host?vm_name={vm_name}",
headers=headers,
- params=params
) as resp:
if resp.status != 200:
error_msg = await resp.text()