computer-use-ootb-internal 0.0.138__tar.gz → 0.0.139__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.
- {computer_use_ootb_internal-0.0.138 → computer_use_ootb_internal-0.0.139}/PKG-INFO +1 -1
- {computer_use_ootb_internal-0.0.138 → computer_use_ootb_internal-0.0.139}/pyproject.toml +1 -1
- {computer_use_ootb_internal-0.0.138 → computer_use_ootb_internal-0.0.139}/src/computer_use_ootb_internal/run_teachmode_ootb_args.py +6 -2
- {computer_use_ootb_internal-0.0.138 → computer_use_ootb_internal-0.0.139}/.gitignore +0 -0
- {computer_use_ootb_internal-0.0.138 → computer_use_ootb_internal-0.0.139}/src/computer_use_ootb_internal/README.md +0 -0
- {computer_use_ootb_internal-0.0.138 → computer_use_ootb_internal-0.0.139}/src/computer_use_ootb_internal/__init__.py +0 -0
- {computer_use_ootb_internal-0.0.138 → computer_use_ootb_internal-0.0.139}/src/computer_use_ootb_internal/app_teachmode.py +0 -0
- {computer_use_ootb_internal-0.0.138 → computer_use_ootb_internal-0.0.139}/src/computer_use_ootb_internal/computer_use_demo/animation/click_animation.py +0 -0
- {computer_use_ootb_internal-0.0.138 → computer_use_ootb_internal-0.0.139}/src/computer_use_ootb_internal/computer_use_demo/animation/icons8-select-cursor-transparent-96.gif +0 -0
- {computer_use_ootb_internal-0.0.138 → computer_use_ootb_internal-0.0.139}/src/computer_use_ootb_internal/computer_use_demo/animation/test_animation.py +0 -0
- {computer_use_ootb_internal-0.0.138 → computer_use_ootb_internal-0.0.139}/src/computer_use_ootb_internal/computer_use_demo/executor/teachmode_executor.py +0 -0
- {computer_use_ootb_internal-0.0.138 → computer_use_ootb_internal-0.0.139}/src/computer_use_ootb_internal/computer_use_demo/gui_agent/gui_parser/simple_parser/__init__.py +0 -0
- {computer_use_ootb_internal-0.0.138 → computer_use_ootb_internal-0.0.139}/src/computer_use_ootb_internal/computer_use_demo/gui_agent/gui_parser/simple_parser/gui_capture.py +0 -0
- {computer_use_ootb_internal-0.0.138 → computer_use_ootb_internal-0.0.139}/src/computer_use_ootb_internal/computer_use_demo/gui_agent/gui_parser/simple_parser/utils.py +0 -0
- {computer_use_ootb_internal-0.0.138 → computer_use_ootb_internal-0.0.139}/src/computer_use_ootb_internal/computer_use_demo/gui_agent/gui_parser/uia_tools/__init__.py +0 -0
- {computer_use_ootb_internal-0.0.138 → computer_use_ootb_internal-0.0.139}/src/computer_use_ootb_internal/computer_use_demo/gui_agent/gui_parser/uia_tools/screenshot_cli.py +0 -0
- {computer_use_ootb_internal-0.0.138 → computer_use_ootb_internal-0.0.139}/src/computer_use_ootb_internal/computer_use_demo/gui_agent/gui_parser/uia_tools/screenshot_service.py +0 -0
- {computer_use_ootb_internal-0.0.138 → computer_use_ootb_internal-0.0.139}/src/computer_use_ootb_internal/computer_use_demo/gui_agent/llm_utils/llm_utils.py +0 -0
- {computer_use_ootb_internal-0.0.138 → computer_use_ootb_internal-0.0.139}/src/computer_use_ootb_internal/computer_use_demo/gui_agent/llm_utils/oai.py +0 -0
- {computer_use_ootb_internal-0.0.138 → computer_use_ootb_internal-0.0.139}/src/computer_use_ootb_internal/computer_use_demo/gui_agent/llm_utils/run_litellm.py +0 -0
- {computer_use_ootb_internal-0.0.138 → computer_use_ootb_internal-0.0.139}/src/computer_use_ootb_internal/computer_use_demo/gui_agent/llm_utils/run_llm.py +0 -0
- {computer_use_ootb_internal-0.0.138 → computer_use_ootb_internal-0.0.139}/src/computer_use_ootb_internal/computer_use_demo/tools/__init__.py +0 -0
- {computer_use_ootb_internal-0.0.138 → computer_use_ootb_internal-0.0.139}/src/computer_use_ootb_internal/computer_use_demo/tools/aws_request.py +0 -0
- {computer_use_ootb_internal-0.0.138 → computer_use_ootb_internal-0.0.139}/src/computer_use_ootb_internal/computer_use_demo/tools/base.py +0 -0
- {computer_use_ootb_internal-0.0.138 → computer_use_ootb_internal-0.0.139}/src/computer_use_ootb_internal/computer_use_demo/tools/bash.py +0 -0
- {computer_use_ootb_internal-0.0.138 → computer_use_ootb_internal-0.0.139}/src/computer_use_ootb_internal/computer_use_demo/tools/collection.py +0 -0
- {computer_use_ootb_internal-0.0.138 → computer_use_ootb_internal-0.0.139}/src/computer_use_ootb_internal/computer_use_demo/tools/colorful_text.py +0 -0
- {computer_use_ootb_internal-0.0.138 → computer_use_ootb_internal-0.0.139}/src/computer_use_ootb_internal/computer_use_demo/tools/computer.py +0 -0
- {computer_use_ootb_internal-0.0.138 → computer_use_ootb_internal-0.0.139}/src/computer_use_ootb_internal/computer_use_demo/tools/computer_marbot.py +0 -0
- {computer_use_ootb_internal-0.0.138 → computer_use_ootb_internal-0.0.139}/src/computer_use_ootb_internal/computer_use_demo/tools/edit.py +0 -0
- {computer_use_ootb_internal-0.0.138 → computer_use_ootb_internal-0.0.139}/src/computer_use_ootb_internal/computer_use_demo/tools/run.py +0 -0
- {computer_use_ootb_internal-0.0.138 → computer_use_ootb_internal-0.0.139}/src/computer_use_ootb_internal/computer_use_demo/tools/screen_capture.py +0 -0
- {computer_use_ootb_internal-0.0.138 → computer_use_ootb_internal-0.0.139}/src/computer_use_ootb_internal/dependency_check.py +0 -0
- {computer_use_ootb_internal-0.0.138 → computer_use_ootb_internal-0.0.139}/src/computer_use_ootb_internal/guard_service.py +0 -0
- {computer_use_ootb_internal-0.0.138 → computer_use_ootb_internal-0.0.139}/src/computer_use_ootb_internal/preparation/__init__.py +0 -0
- {computer_use_ootb_internal-0.0.138 → computer_use_ootb_internal-0.0.139}/src/computer_use_ootb_internal/preparation/star_rail_prepare.py +0 -0
- {computer_use_ootb_internal-0.0.138 → computer_use_ootb_internal-0.0.139}/src/computer_use_ootb_internal/requirements-lite.txt +0 -0
- {computer_use_ootb_internal-0.0.138 → computer_use_ootb_internal-0.0.139}/src/computer_use_ootb_internal/service_manager.py +0 -0
- {computer_use_ootb_internal-0.0.138 → computer_use_ootb_internal-0.0.139}/src/computer_use_ootb_internal/signal_connection.py +0 -0
@@ -21,7 +21,7 @@ def simple_teachmode_sampling_loop(
|
|
21
21
|
model: str,
|
22
22
|
task: str,
|
23
23
|
api_keys: dict = None,
|
24
|
-
action_history: list[dict] =
|
24
|
+
action_history: list[dict] = None,
|
25
25
|
selected_screen: int = 0,
|
26
26
|
user_id: str = None,
|
27
27
|
trace_id: str = None,
|
@@ -31,6 +31,10 @@ def simple_teachmode_sampling_loop(
|
|
31
31
|
"""
|
32
32
|
Synchronous sampling loop for assistant/tool interactions in 'teach mode'.
|
33
33
|
"""
|
34
|
+
# Initialize action_history if it's None
|
35
|
+
if action_history is None:
|
36
|
+
action_history = []
|
37
|
+
|
34
38
|
# if platform.system() != "Windows":
|
35
39
|
# raise ValueError("Teach mode is only supported on Windows.")
|
36
40
|
|
@@ -42,7 +46,7 @@ def simple_teachmode_sampling_loop(
|
|
42
46
|
if "star_rail" in user_id or "star_rail" in user_id:
|
43
47
|
full_screen_game_mode = 1
|
44
48
|
|
45
|
-
if "star_rail_dev" in trace_id or "star_rail_dev" in user_id or "hero_case" in user_id or "
|
49
|
+
if "star_rail_dev" in trace_id or "star_rail_dev" in user_id or "hero_case" in user_id or "official" in user_id:
|
46
50
|
full_screen_game_mode = 2
|
47
51
|
|
48
52
|
print(f"Full Screen Game Mode: {full_screen_game_mode}")
|
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
|