cua-agent 0.4.0b3__tar.gz → 0.4.0b4__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.0b3 → cua_agent-0.4.0b4}/PKG-INFO +1 -1
- {cua_agent-0.4.0b3 → cua_agent-0.4.0b4}/agent/cli.py +15 -8
- {cua_agent-0.4.0b3 → cua_agent-0.4.0b4}/pyproject.toml +1 -1
- {cua_agent-0.4.0b3 → cua_agent-0.4.0b4}/README.md +0 -0
- {cua_agent-0.4.0b3 → cua_agent-0.4.0b4}/agent/__init__.py +0 -0
- {cua_agent-0.4.0b3 → cua_agent-0.4.0b4}/agent/__main__.py +0 -0
- {cua_agent-0.4.0b3 → cua_agent-0.4.0b4}/agent/adapters/__init__.py +0 -0
- {cua_agent-0.4.0b3 → cua_agent-0.4.0b4}/agent/adapters/huggingfacelocal_adapter.py +0 -0
- {cua_agent-0.4.0b3 → cua_agent-0.4.0b4}/agent/agent.py +0 -0
- {cua_agent-0.4.0b3 → cua_agent-0.4.0b4}/agent/callbacks/__init__.py +0 -0
- {cua_agent-0.4.0b3 → cua_agent-0.4.0b4}/agent/callbacks/base.py +0 -0
- {cua_agent-0.4.0b3 → cua_agent-0.4.0b4}/agent/callbacks/budget_manager.py +0 -0
- {cua_agent-0.4.0b3 → cua_agent-0.4.0b4}/agent/callbacks/image_retention.py +0 -0
- {cua_agent-0.4.0b3 → cua_agent-0.4.0b4}/agent/callbacks/logging.py +0 -0
- {cua_agent-0.4.0b3 → cua_agent-0.4.0b4}/agent/callbacks/pii_anonymization.py +0 -0
- {cua_agent-0.4.0b3 → cua_agent-0.4.0b4}/agent/callbacks/trajectory_saver.py +0 -0
- {cua_agent-0.4.0b3 → cua_agent-0.4.0b4}/agent/computer_handler.py +0 -0
- {cua_agent-0.4.0b3 → cua_agent-0.4.0b4}/agent/decorators.py +0 -0
- {cua_agent-0.4.0b3 → cua_agent-0.4.0b4}/agent/loops/__init__.py +0 -0
- {cua_agent-0.4.0b3 → cua_agent-0.4.0b4}/agent/loops/anthropic.py +0 -0
- {cua_agent-0.4.0b3 → cua_agent-0.4.0b4}/agent/loops/omniparser.py +0 -0
- {cua_agent-0.4.0b3 → cua_agent-0.4.0b4}/agent/loops/openai.py +0 -0
- {cua_agent-0.4.0b3 → cua_agent-0.4.0b4}/agent/loops/uitars.py +0 -0
- {cua_agent-0.4.0b3 → cua_agent-0.4.0b4}/agent/responses.py +0 -0
- {cua_agent-0.4.0b3 → cua_agent-0.4.0b4}/agent/types.py +0 -0
- {cua_agent-0.4.0b3 → cua_agent-0.4.0b4}/agent/ui/__init__.py +0 -0
- {cua_agent-0.4.0b3 → cua_agent-0.4.0b4}/agent/ui/gradio/__init__.py +0 -0
- {cua_agent-0.4.0b3 → cua_agent-0.4.0b4}/agent/ui/gradio/app.py +0 -0
- {cua_agent-0.4.0b3 → cua_agent-0.4.0b4}/agent/ui/gradio/ui_components.py +0 -0
|
@@ -10,14 +10,21 @@ Examples:
|
|
|
10
10
|
python -m agent.cli omniparser+anthropic/claude-3-5-sonnet-20241022
|
|
11
11
|
"""
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
|
|
19
|
-
import
|
|
20
|
-
|
|
13
|
+
try:
|
|
14
|
+
import asyncio
|
|
15
|
+
import argparse
|
|
16
|
+
import os
|
|
17
|
+
import sys
|
|
18
|
+
import json
|
|
19
|
+
from typing import List, Dict, Any
|
|
20
|
+
import dotenv
|
|
21
|
+
from yaspin import yaspin
|
|
22
|
+
except ImportError:
|
|
23
|
+
if __name__ == "__main__":
|
|
24
|
+
raise ImportError(
|
|
25
|
+
"CLI dependencies not found. "
|
|
26
|
+
"Please install with: pip install \"cua-agent[cli]\""
|
|
27
|
+
)
|
|
21
28
|
|
|
22
29
|
# Load environment variables
|
|
23
30
|
dotenv.load_dotenv()
|
|
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
|