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.

pass api_port to docker provider

Dillon DuPonta397b5e4b15a
diff --git a/libs/python/computer/computer/computer.py b/libs/python/computer/computer/computer.py
index d90c72ee18..8c88f73d23 100644
--- a/libs/python/computer/computer/computer.py
+++ b/libs/python/computer/computer/computer.py
@@ -375,6 +375,7 @@ class Computer:
verbose=verbose,
ephemeral=ephemeral,
noVNC_port=noVNC_port,
+ api_port=self.api_port,
)
else:
raise ValueError(f"Unsupported provider type: {self.provider_type}")