cua-agent 0.4.21__tar.gz → 0.4.22__tar.gz
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.
- {cua_agent-0.4.21 → cua_agent-0.4.22}/PKG-INFO +1 -1
- {cua_agent-0.4.21 → cua_agent-0.4.22}/agent/agent.py +5 -5
- {cua_agent-0.4.21 → cua_agent-0.4.22}/pyproject.toml +1 -1
- {cua_agent-0.4.21 → cua_agent-0.4.22}/README.md +0 -0
- {cua_agent-0.4.21 → cua_agent-0.4.22}/agent/__init__.py +0 -0
- {cua_agent-0.4.21 → cua_agent-0.4.22}/agent/__main__.py +0 -0
- {cua_agent-0.4.21 → cua_agent-0.4.22}/agent/adapters/__init__.py +0 -0
- {cua_agent-0.4.21 → cua_agent-0.4.22}/agent/adapters/huggingfacelocal_adapter.py +0 -0
- {cua_agent-0.4.21 → cua_agent-0.4.22}/agent/adapters/human_adapter.py +0 -0
- {cua_agent-0.4.21 → cua_agent-0.4.22}/agent/adapters/mlxvlm_adapter.py +0 -0
- {cua_agent-0.4.21 → cua_agent-0.4.22}/agent/callbacks/__init__.py +0 -0
- {cua_agent-0.4.21 → cua_agent-0.4.22}/agent/callbacks/base.py +0 -0
- {cua_agent-0.4.21 → cua_agent-0.4.22}/agent/callbacks/budget_manager.py +0 -0
- {cua_agent-0.4.21 → cua_agent-0.4.22}/agent/callbacks/image_retention.py +0 -0
- {cua_agent-0.4.21 → cua_agent-0.4.22}/agent/callbacks/logging.py +0 -0
- {cua_agent-0.4.21 → cua_agent-0.4.22}/agent/callbacks/operator_validator.py +0 -0
- {cua_agent-0.4.21 → cua_agent-0.4.22}/agent/callbacks/pii_anonymization.py +0 -0
- {cua_agent-0.4.21 → cua_agent-0.4.22}/agent/callbacks/telemetry.py +0 -0
- {cua_agent-0.4.21 → cua_agent-0.4.22}/agent/callbacks/trajectory_saver.py +0 -0
- {cua_agent-0.4.21 → cua_agent-0.4.22}/agent/cli.py +0 -0
- {cua_agent-0.4.21 → cua_agent-0.4.22}/agent/computers/__init__.py +0 -0
- {cua_agent-0.4.21 → cua_agent-0.4.22}/agent/computers/base.py +0 -0
- {cua_agent-0.4.21 → cua_agent-0.4.22}/agent/computers/cua.py +0 -0
- {cua_agent-0.4.21 → cua_agent-0.4.22}/agent/computers/custom.py +0 -0
- {cua_agent-0.4.21 → cua_agent-0.4.22}/agent/decorators.py +0 -0
- {cua_agent-0.4.21 → cua_agent-0.4.22}/agent/human_tool/__init__.py +0 -0
- {cua_agent-0.4.21 → cua_agent-0.4.22}/agent/human_tool/__main__.py +0 -0
- {cua_agent-0.4.21 → cua_agent-0.4.22}/agent/human_tool/server.py +0 -0
- {cua_agent-0.4.21 → cua_agent-0.4.22}/agent/human_tool/ui.py +0 -0
- {cua_agent-0.4.21 → cua_agent-0.4.22}/agent/integrations/hud/__init__.py +0 -0
- {cua_agent-0.4.21 → cua_agent-0.4.22}/agent/integrations/hud/proxy.py +0 -0
- {cua_agent-0.4.21 → cua_agent-0.4.22}/agent/loops/__init__.py +0 -0
- {cua_agent-0.4.21 → cua_agent-0.4.22}/agent/loops/anthropic.py +0 -0
- {cua_agent-0.4.21 → cua_agent-0.4.22}/agent/loops/base.py +0 -0
- {cua_agent-0.4.21 → cua_agent-0.4.22}/agent/loops/composed_grounded.py +0 -0
- {cua_agent-0.4.21 → cua_agent-0.4.22}/agent/loops/glm45v.py +0 -0
- {cua_agent-0.4.21 → cua_agent-0.4.22}/agent/loops/gta1.py +0 -0
- {cua_agent-0.4.21 → cua_agent-0.4.22}/agent/loops/model_types.csv +0 -0
- {cua_agent-0.4.21 → cua_agent-0.4.22}/agent/loops/omniparser.py +0 -0
- {cua_agent-0.4.21 → cua_agent-0.4.22}/agent/loops/openai.py +0 -0
- {cua_agent-0.4.21 → cua_agent-0.4.22}/agent/loops/uitars.py +0 -0
- {cua_agent-0.4.21 → cua_agent-0.4.22}/agent/proxy/examples.py +0 -0
- {cua_agent-0.4.21 → cua_agent-0.4.22}/agent/proxy/handlers.py +0 -0
- {cua_agent-0.4.21 → cua_agent-0.4.22}/agent/responses.py +0 -0
- {cua_agent-0.4.21 → cua_agent-0.4.22}/agent/types.py +0 -0
- {cua_agent-0.4.21 → cua_agent-0.4.22}/agent/ui/__init__.py +0 -0
- {cua_agent-0.4.21 → cua_agent-0.4.22}/agent/ui/__main__.py +0 -0
- {cua_agent-0.4.21 → cua_agent-0.4.22}/agent/ui/gradio/__init__.py +0 -0
- {cua_agent-0.4.21 → cua_agent-0.4.22}/agent/ui/gradio/app.py +0 -0
- {cua_agent-0.4.21 → cua_agent-0.4.22}/agent/ui/gradio/ui_components.py +0 -0
|
@@ -188,7 +188,11 @@ class ComputerAgent:
|
|
|
188
188
|
max_trajectory_budget: If set, adds BudgetManagerCallback to track usage costs and stop when budget is exceeded
|
|
189
189
|
telemetry_enabled: If set, adds TelemetryCallback to track anonymized usage data. Enabled by default.
|
|
190
190
|
**kwargs: Additional arguments passed to the agent loop
|
|
191
|
-
"""
|
|
191
|
+
"""
|
|
192
|
+
# If the loop is "human/human", we need to prefix a grounding model fallback
|
|
193
|
+
if model in ["human/human", "human"]:
|
|
194
|
+
model = "openai/computer-use-preview+human/human"
|
|
195
|
+
|
|
192
196
|
self.model = model
|
|
193
197
|
self.tools = tools or []
|
|
194
198
|
self.custom_loop = custom_loop
|
|
@@ -253,10 +257,6 @@ class ComputerAgent:
|
|
|
253
257
|
|
|
254
258
|
# == Initialize computer agent ==
|
|
255
259
|
|
|
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
|
-
|
|
260
260
|
# Find the appropriate agent loop
|
|
261
261
|
if custom_loop:
|
|
262
262
|
self.agent_loop = custom_loop
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|