cua-agent 0.4.19__py3-none-any.whl → 0.4.21__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of cua-agent might be problematic. Click here for more details.

agent/agent.py CHANGED
@@ -253,6 +253,10 @@ class ComputerAgent:
253
253
 
254
254
  # == Initialize computer agent ==
255
255
 
256
+ # If the loop is "human/human", we need to prefix a grounding model fallback
257
+ if model in ["human/human", "human"]:
258
+ model = "openai/computer-use-preview+human/human"
259
+
256
260
  # Find the appropriate agent loop
257
261
  if custom_loop:
258
262
  self.agent_loop = custom_loop
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cua-agent
3
- Version: 0.4.19
3
+ Version: 0.4.21
4
4
  Summary: CUA (Computer Use) Agent for AI-driven computer interaction
5
5
  Author-Email: TryCua <gh@trycua.com>
6
6
  Requires-Python: >=3.12
@@ -4,7 +4,7 @@ agent/adapters/__init__.py,sha256=Q_OxxwXBcBIetQ_DtHS5bwZWXrvCKPX2grCg8R0UKek,30
4
4
  agent/adapters/huggingfacelocal_adapter.py,sha256=Uqjtcohhzd33VFh38Ra2y4Uv_lTghMswoqS1t-KKFkw,8480
5
5
  agent/adapters/human_adapter.py,sha256=xT4nnfNXb1z-vnGFlLmFEZN7TMcoMBGS40MtR1Zwv4o,13079
6
6
  agent/adapters/mlxvlm_adapter.py,sha256=4VhhKDZfLLKL5joL1v4PPFvYw-R8spoDsat3vOAGnpE,14864
7
- agent/agent.py,sha256=_2ZvVfw4CUHNGzSqqifHTYyA6cJLlibhf1ujt0jsGtk,29616
7
+ agent/agent.py,sha256=4_iEeNDcAarPsM0XUwRzZ4MdZaJ5NJgZP_TSou-IF74,29810
8
8
  agent/callbacks/__init__.py,sha256=et6pNfX_AiJqhVzUfCvcjzFbDhfLoHazKCXN5sqwxaM,631
9
9
  agent/callbacks/base.py,sha256=UnnnYlh6XCm6HKZZsAPaT_Eyo9LUYLyjyNwF-QRm6Ns,4691
10
10
  agent/callbacks/budget_manager.py,sha256=RyKM-7iXQcDotYvrw3eURzeEHEXvQjID-NobtvQWE7k,1832
@@ -45,7 +45,7 @@ agent/ui/__main__.py,sha256=vudWXYvGM0aNT5aZ94HPtGW8YXOZ4cLXepHyhUM_k1g,73
45
45
  agent/ui/gradio/__init__.py,sha256=yv4Mrfo-Sj2U5sVn_UJHAuwYCezo-5O4ItR2C9jzNko,145
46
46
  agent/ui/gradio/app.py,sha256=Ol97YEbwREZZQ9_PMjVHlfOcu9BGsawxgAGAm79hT80,9117
47
47
  agent/ui/gradio/ui_components.py,sha256=dJUvKDmc1oSejtoR_gU_oWWYwxaOOQyPloSYRGMrUCQ,36068
48
- cua_agent-0.4.19.dist-info/METADATA,sha256=Yww-0-gs0ptZnlKjvD-lxbAVhkXBxqWEPZfdSdu1utE,12712
49
- cua_agent-0.4.19.dist-info/WHEEL,sha256=9P2ygRxDrTJz3gsagc0Z96ukrxjr-LFBGOgv3AuKlCA,90
50
- cua_agent-0.4.19.dist-info/entry_points.txt,sha256=6OYgBcLyFCUgeqLgnvMyOJxPCWzgy7se4rLPKtNonMs,34
51
- cua_agent-0.4.19.dist-info/RECORD,,
48
+ cua_agent-0.4.21.dist-info/METADATA,sha256=-huEwTKd9ldhH3Gr1spNDNe3YEpuJGazwM2-wyO6rCI,12712
49
+ cua_agent-0.4.21.dist-info/WHEEL,sha256=9P2ygRxDrTJz3gsagc0Z96ukrxjr-LFBGOgv3AuKlCA,90
50
+ cua_agent-0.4.21.dist-info/entry_points.txt,sha256=6OYgBcLyFCUgeqLgnvMyOJxPCWzgy7se4rLPKtNonMs,34
51
+ cua_agent-0.4.21.dist-info/RECORD,,