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.

lint formatting

Sarina Li11e8f891c3f2
diff --git a/libs/python/agent/agent/computers/base.py b/libs/python/agent/agent/computers/base.py
index 673c6693e2..631b79df65 100644
--- a/libs/python/agent/agent/computers/base.py
+++ b/libs/python/agent/agent/computers/base.py
@@ -30,7 +30,7 @@ class AsyncComputerHandler(Protocol):
async def screenshot(self, text: Optional[str] = None) -> str:
"""Take a screenshot and return as base64 string.
-
+
Args:
text: Optional descriptive text (for compatibility with GPT-4o models, ignored)
"""
diff --git a/libs/python/agent/agent/computers/cua.py b/libs/python/agent/agent/computers/cua.py
index 00b0720f42..4037452886 100644
--- a/libs/python/agent/agent/computers/cua.py
+++ b/libs/python/agent/agent/computers/cua.py
@@ -38,7 +38,7 @@ class cuaComputerHandler(AsyncComputerHandler):
async def screenshot(self, text: Optional[str] = None) -> str:
"""Take a screenshot and return as base64 string.
-
+
Args:
text: Optional descriptive text (for compatibility with GPT-4o models, ignored)
"""
diff --git a/libs/python/agent/agent/computers/custom.py b/libs/python/agent/agent/computers/custom.py
index 5165c497eb..720e3b5598 100644
--- a/libs/python/agent/agent/computers/custom.py
+++ b/libs/python/agent/agent/computers/custom.py
@@ -124,7 +124,7 @@ class CustomComputerHandler(AsyncComputerHandler):
async def screenshot(self, text: Optional[str] = None) -> str:
"""Take a screenshot and return as base64 string.
-
+
Args:
text: Optional descriptive text (for compatibility with GPT-4o models, ignored)
"""