computer-use-ootb-internal 0.0.138__py3-none-any.whl → 0.0.139__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.
@@ -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 "offical" in user_id:
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}")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: computer-use-ootb-internal
3
- Version: 0.0.138
3
+ Version: 0.0.139
4
4
  Summary: Computer Use OOTB
5
5
  Author-email: Siyuan Hu <siyuan.hu.sg@gmail.com>
6
6
  Requires-Python: >=3.11
@@ -4,7 +4,7 @@ computer_use_ootb_internal/app_teachmode.py,sha256=76JbhRhhB-PohVJ-PJSpqMPMqvLGH
4
4
  computer_use_ootb_internal/dependency_check.py,sha256=y8RMEP6RXQzTgU1MS_1piBLtz4J-Hfn9RjUZg59dyvo,1333
5
5
  computer_use_ootb_internal/guard_service.py,sha256=RjnfBIsLU0P4T1o2lMWFY1lSmAOILhJmhUiYzrTxg4A,47329
6
6
  computer_use_ootb_internal/requirements-lite.txt,sha256=5DAHomz4A_P2BmTIXNkNqkHbnIF0AyZ4_1XAlb1LaYs,290
7
- computer_use_ootb_internal/run_teachmode_ootb_args.py,sha256=3ud1hvvOkODD3woc0Zwe5UG5p8x2KEHLks7JfdFRzCg,7579
7
+ computer_use_ootb_internal/run_teachmode_ootb_args.py,sha256=eUPpfA7bB3bdBBiIBIxKJSS-Jpz2G6R46fpDO440Jyo,7687
8
8
  computer_use_ootb_internal/service_manager.py,sha256=SD8jzfn0VVXBOr_nP6zmBWSC2TzrU_sp2e5JJkSlQFU,9734
9
9
  computer_use_ootb_internal/signal_connection.py,sha256=8jPLOj0WSBXI_NElm5A-F146DTAE5LdL07lov7YXTNQ,1774
10
10
  computer_use_ootb_internal/computer_use_demo/animation/click_animation.py,sha256=tP1gsayFy-CKk10UlrE9RlexwlHWiHQUe5Ogg4vQvSg,3234
@@ -34,7 +34,7 @@ computer_use_ootb_internal/computer_use_demo/tools/run.py,sha256=xhXdnBK1di9muaO
34
34
  computer_use_ootb_internal/computer_use_demo/tools/screen_capture.py,sha256=L8qfvtUkPPQGt92N-2Zfw5ZTDBzLsDps39uMnX3_uSA,6857
35
35
  computer_use_ootb_internal/preparation/__init__.py,sha256=AgtGHcBpiTkxJjF0xwcs3yyQ6SyUvhL3G0vD2XO-zJw,63
36
36
  computer_use_ootb_internal/preparation/star_rail_prepare.py,sha256=s1VWszcTnJAKxqCHFlaOEwPkqVSrkiFx_yKpWSnSbHs,2649
37
- computer_use_ootb_internal-0.0.138.dist-info/METADATA,sha256=ssU5RYeRr30uWirpkatg1lBgY0ANtqnIQ3KL_dtM0t4,1048
38
- computer_use_ootb_internal-0.0.138.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
39
- computer_use_ootb_internal-0.0.138.dist-info/entry_points.txt,sha256=bXfyAU_qq-G1EiEgAQEioXvgEdRCFxaTooqdDD9Y4OA,258
40
- computer_use_ootb_internal-0.0.138.dist-info/RECORD,,
37
+ computer_use_ootb_internal-0.0.139.dist-info/METADATA,sha256=6WCMb69hwGSAt5_qMYgIFhTSEmPaedyaJhgjhUcnQks,1048
38
+ computer_use_ootb_internal-0.0.139.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
39
+ computer_use_ootb_internal-0.0.139.dist-info/entry_points.txt,sha256=bXfyAU_qq-G1EiEgAQEioXvgEdRCFxaTooqdDD9Y4OA,258
40
+ computer_use_ootb_internal-0.0.139.dist-info/RECORD,,