cua-agent 0.4.16__tar.gz → 0.4.17__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.16 → cua_agent-0.4.17}/PKG-INFO +1 -1
- {cua_agent-0.4.16 → cua_agent-0.4.17}/agent/agent.py +2 -3
- {cua_agent-0.4.16 → cua_agent-0.4.17}/pyproject.toml +1 -1
- {cua_agent-0.4.16 → cua_agent-0.4.17}/README.md +0 -0
- {cua_agent-0.4.16 → cua_agent-0.4.17}/agent/__init__.py +0 -0
- {cua_agent-0.4.16 → cua_agent-0.4.17}/agent/__main__.py +0 -0
- {cua_agent-0.4.16 → cua_agent-0.4.17}/agent/adapters/__init__.py +0 -0
- {cua_agent-0.4.16 → cua_agent-0.4.17}/agent/adapters/huggingfacelocal_adapter.py +0 -0
- {cua_agent-0.4.16 → cua_agent-0.4.17}/agent/adapters/human_adapter.py +0 -0
- {cua_agent-0.4.16 → cua_agent-0.4.17}/agent/callbacks/__init__.py +0 -0
- {cua_agent-0.4.16 → cua_agent-0.4.17}/agent/callbacks/base.py +0 -0
- {cua_agent-0.4.16 → cua_agent-0.4.17}/agent/callbacks/budget_manager.py +0 -0
- {cua_agent-0.4.16 → cua_agent-0.4.17}/agent/callbacks/image_retention.py +0 -0
- {cua_agent-0.4.16 → cua_agent-0.4.17}/agent/callbacks/logging.py +0 -0
- {cua_agent-0.4.16 → cua_agent-0.4.17}/agent/callbacks/pii_anonymization.py +0 -0
- {cua_agent-0.4.16 → cua_agent-0.4.17}/agent/callbacks/telemetry.py +0 -0
- {cua_agent-0.4.16 → cua_agent-0.4.17}/agent/callbacks/trajectory_saver.py +0 -0
- {cua_agent-0.4.16 → cua_agent-0.4.17}/agent/cli.py +0 -0
- {cua_agent-0.4.16 → cua_agent-0.4.17}/agent/computers/__init__.py +0 -0
- {cua_agent-0.4.16 → cua_agent-0.4.17}/agent/computers/base.py +0 -0
- {cua_agent-0.4.16 → cua_agent-0.4.17}/agent/computers/cua.py +0 -0
- {cua_agent-0.4.16 → cua_agent-0.4.17}/agent/computers/custom.py +0 -0
- {cua_agent-0.4.16 → cua_agent-0.4.17}/agent/decorators.py +0 -0
- {cua_agent-0.4.16 → cua_agent-0.4.17}/agent/human_tool/__init__.py +0 -0
- {cua_agent-0.4.16 → cua_agent-0.4.17}/agent/human_tool/__main__.py +0 -0
- {cua_agent-0.4.16 → cua_agent-0.4.17}/agent/human_tool/server.py +0 -0
- {cua_agent-0.4.16 → cua_agent-0.4.17}/agent/human_tool/ui.py +0 -0
- {cua_agent-0.4.16 → cua_agent-0.4.17}/agent/integrations/hud/__init__.py +0 -0
- {cua_agent-0.4.16 → cua_agent-0.4.17}/agent/integrations/hud/adapter.py +0 -0
- {cua_agent-0.4.16 → cua_agent-0.4.17}/agent/integrations/hud/agent.py +0 -0
- {cua_agent-0.4.16 → cua_agent-0.4.17}/agent/integrations/hud/computer_handler.py +0 -0
- {cua_agent-0.4.16 → cua_agent-0.4.17}/agent/loops/__init__.py +0 -0
- {cua_agent-0.4.16 → cua_agent-0.4.17}/agent/loops/anthropic.py +0 -0
- {cua_agent-0.4.16 → cua_agent-0.4.17}/agent/loops/base.py +0 -0
- {cua_agent-0.4.16 → cua_agent-0.4.17}/agent/loops/composed_grounded.py +0 -0
- {cua_agent-0.4.16 → cua_agent-0.4.17}/agent/loops/glm45v.py +0 -0
- {cua_agent-0.4.16 → cua_agent-0.4.17}/agent/loops/gta1.py +0 -0
- {cua_agent-0.4.16 → cua_agent-0.4.17}/agent/loops/model_types.csv +0 -0
- {cua_agent-0.4.16 → cua_agent-0.4.17}/agent/loops/omniparser.py +0 -0
- {cua_agent-0.4.16 → cua_agent-0.4.17}/agent/loops/openai.py +0 -0
- {cua_agent-0.4.16 → cua_agent-0.4.17}/agent/loops/uitars.py +0 -0
- {cua_agent-0.4.16 → cua_agent-0.4.17}/agent/responses.py +0 -0
- {cua_agent-0.4.16 → cua_agent-0.4.17}/agent/types.py +0 -0
- {cua_agent-0.4.16 → cua_agent-0.4.17}/agent/ui/__init__.py +0 -0
- {cua_agent-0.4.16 → cua_agent-0.4.17}/agent/ui/__main__.py +0 -0
- {cua_agent-0.4.16 → cua_agent-0.4.17}/agent/ui/gradio/__init__.py +0 -0
- {cua_agent-0.4.16 → cua_agent-0.4.17}/agent/ui/gradio/app.py +0 -0
- {cua_agent-0.4.16 → cua_agent-0.4.17}/agent/ui/gradio/ui_components.py +0 -0
|
@@ -459,8 +459,7 @@ class ComputerAgent:
|
|
|
459
459
|
assert_callable_with(computer_method, **action_args)
|
|
460
460
|
await computer_method(**action_args)
|
|
461
461
|
else:
|
|
462
|
-
|
|
463
|
-
return []
|
|
462
|
+
raise ToolError(f"Unknown computer action: {action_type}")
|
|
464
463
|
|
|
465
464
|
# Take screenshot after action
|
|
466
465
|
if self.screenshot_delay and self.screenshot_delay > 0:
|
|
@@ -507,7 +506,7 @@ class ComputerAgent:
|
|
|
507
506
|
# Perform function call
|
|
508
507
|
function = self._get_tool(item.get("name"))
|
|
509
508
|
if not function:
|
|
510
|
-
raise
|
|
509
|
+
raise ToolError(f"Function {item.get("name")} not found")
|
|
511
510
|
|
|
512
511
|
args = json.loads(item.get("arguments"))
|
|
513
512
|
|
|
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
|