computer-use-ootb-internal 0.0.172__py3-none-any.whl → 0.0.173__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.
- computer_use_ootb_internal/run_teachmode_ootb_args.py +9 -5
- {computer_use_ootb_internal-0.0.172.dist-info → computer_use_ootb_internal-0.0.173.dist-info}/METADATA +1 -1
- {computer_use_ootb_internal-0.0.172.dist-info → computer_use_ootb_internal-0.0.173.dist-info}/RECORD +5 -5
- {computer_use_ootb_internal-0.0.172.dist-info → computer_use_ootb_internal-0.0.173.dist-info}/WHEEL +0 -0
- {computer_use_ootb_internal-0.0.172.dist-info → computer_use_ootb_internal-0.0.173.dist-info}/entry_points.txt +0 -0
@@ -119,17 +119,21 @@ def simple_teachmode_sampling_loop(
|
|
119
119
|
|
120
120
|
try:
|
121
121
|
step_plan = infer_server_response["generated_plan"]
|
122
|
-
|
123
|
-
|
122
|
+
step_plan_observation = step_plan["observation"]
|
123
|
+
step_plan_reasoning = step_plan["reasoning"]
|
124
|
+
step_plan_info = step_plan["step_info"]
|
124
125
|
step_action = infer_server_response["generated_action"]["content"]
|
125
126
|
step_traj_idx = infer_server_response["current_traj_step"]
|
126
127
|
|
128
|
+
# chat_visable_content = f"{step_plan_observation}{step_plan_reasoning}"
|
129
|
+
|
127
130
|
except Exception as e:
|
128
131
|
print("Error parsing generated_action content:", e)
|
129
132
|
yield {"role": "assistant", "content": "Error parsing response from Marbot Run server. Exiting.", "type": "error"}
|
130
133
|
break
|
131
|
-
|
132
|
-
yield {"role": "assistant", "content":
|
134
|
+
|
135
|
+
yield {"role": "assistant", "content": step_plan_observation, "type": "text"}
|
136
|
+
yield {"role": "assistant", "content": step_plan_reasoning, "type": "text"}
|
133
137
|
|
134
138
|
if step_action.get("action") == "STOP":
|
135
139
|
final_sc, final_sc_path = get_screenshot_external_cmd(selected_screen=selected_screen)
|
@@ -141,7 +145,7 @@ def simple_teachmode_sampling_loop(
|
|
141
145
|
action_history = []
|
142
146
|
break
|
143
147
|
|
144
|
-
action_history.append(f"Executing guidance trajectory step [{step_traj_idx}]: {{Plan: {
|
148
|
+
action_history.append(f"Executing guidance trajectory step [{step_traj_idx}]: {{Plan: {step_plan_info}, Action: {step_action}}}\n")
|
145
149
|
|
146
150
|
for exec_message in executor({"role": "assistant", "content": step_action}):
|
147
151
|
yield exec_message
|
{computer_use_ootb_internal-0.0.172.dist-info → computer_use_ootb_internal-0.0.173.dist-info}/RECORD
RENAMED
@@ -4,7 +4,7 @@ computer_use_ootb_internal/app_teachmode.py,sha256=S3qqkizoEs18qU_1zsaqHoYeHwQ-N
|
|
4
4
|
computer_use_ootb_internal/dependency_check.py,sha256=y8RMEP6RXQzTgU1MS_1piBLtz4J-Hfn9RjUZg59dyvo,1333
|
5
5
|
computer_use_ootb_internal/guard_service.py,sha256=0-lUbJO02XAT9t5zUPgrfjbv1Uy8KAJjVeK2mLp5mHk,49990
|
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=
|
7
|
+
computer_use_ootb_internal/run_teachmode_ootb_args.py,sha256=74S2wMXhuSshavDCEsgbC8g8z2-kZjd_GPT1L2CVh_0,7932
|
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/test_click_0425.py,sha256=gJUBpPK6gGgVS6nkJSgoCj4mKl-ngcoR_jeVmDslSAs,1751
|
@@ -36,7 +36,7 @@ computer_use_ootb_internal/computer_use_demo/tools/screen_capture.py,sha256=L8qf
|
|
36
36
|
computer_use_ootb_internal/preparation/__init__.py,sha256=AgtGHcBpiTkxJjF0xwcs3yyQ6SyUvhL3G0vD2XO-zJw,63
|
37
37
|
computer_use_ootb_internal/preparation/powerpoint_prepare.py,sha256=cYRlGs6YWKe1lk-74lkLr-nlwC1W_Q6-tuddxlDrKFM,4149
|
38
38
|
computer_use_ootb_internal/preparation/star_rail_prepare.py,sha256=r0b19M_c1sXkN3_MRFjql8w_ThC9nZUe8zbSLYUvKS8,4635
|
39
|
-
computer_use_ootb_internal-0.0.
|
40
|
-
computer_use_ootb_internal-0.0.
|
41
|
-
computer_use_ootb_internal-0.0.
|
42
|
-
computer_use_ootb_internal-0.0.
|
39
|
+
computer_use_ootb_internal-0.0.173.dist-info/METADATA,sha256=w5vNUFSAwEW7TAgaMCYoNTX1MThcKYWqt8tdojZlBzc,1048
|
40
|
+
computer_use_ootb_internal-0.0.173.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
41
|
+
computer_use_ootb_internal-0.0.173.dist-info/entry_points.txt,sha256=bXfyAU_qq-G1EiEgAQEioXvgEdRCFxaTooqdDD9Y4OA,258
|
42
|
+
computer_use_ootb_internal-0.0.173.dist-info/RECORD,,
|
{computer_use_ootb_internal-0.0.172.dist-info → computer_use_ootb_internal-0.0.173.dist-info}/WHEEL
RENAMED
File without changes
|
File without changes
|