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(xfce): slim container image by switching cua-agent[all] to [cloud] (#1183)

ddupont59f5ec69081e
diff --git a/libs/python/agent/pyproject.toml b/libs/python/agent/pyproject.toml
index def2cb4c52..6c0e8c01b9 100644
--- a/libs/python/agent/pyproject.toml
+++ b/libs/python/agent/pyproject.toml
@@ -83,6 +83,18 @@ hud = [
gemini = [
"google-genai>=1.41.0",
]
+# API-only extras for cloud/container deployments — excludes torch/transformers/local models.
+# Supports: openai, anthropic, gemini, uitars (API mode).
+cloud = [
+ # gemini API SDK
+ "google-genai>=1.41.0",
+ # cli spinner
+ "yaspin>=3.1.0",
+ # qwen tool-call formatting (used by generic_vlm.py for API-based Qwen calls)
+ "qwen-agent",
+ "qwen-vl-utils",
+ "Pillow>=10.0.0",
+]
all = [
# uitars requirements
"mlx-vlm>=0.1.27; sys_platform == 'darwin'",
diff --git a/libs/xfce/Dockerfile b/libs/xfce/Dockerfile
index 79237a110d..7c1eaf1f60 100644
--- a/libs/xfce/Dockerfile
+++ b/libs/xfce/Dockerfile
@@ -125,7 +125,7 @@ RUN mkdir -p /home/cua/.cache && \
chown -R cua:cua /home/cua/.cache
# Install computer-server and cua-agent
-RUN uv pip install --system cua-computer-server "cua-agent[all]"
+RUN uv pip install --system cua-computer-server "cua-agent[cloud]>=0.7.35"
# Install GTK and WebKit dependencies for pywebview
RUN apt-get update && apt-get install -y \