Skip to content

Commit a9a8c47

Browse files
committed
Only print if action_type != "UNKNOWN"
1 parent 1df96fc commit a9a8c47

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

operate/main.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -210,9 +210,10 @@ def main(model):
210210

211211
break
212212

213-
print(
214-
f"{ANSI_GREEN}[Self-Operating Computer]{ANSI_BRIGHT_MAGENTA} [Act] {action_type} {ANSI_RESET}{action_detail}"
215-
)
213+
if action_type != "UNKNOWN":
214+
print(
215+
f"{ANSI_GREEN}[Self-Operating Computer]{ANSI_BRIGHT_MAGENTA} [Act] {action_type} {ANSI_RESET}{action_detail}"
216+
)
216217

217218
function_response = ""
218219
if action_type == "SEARCH":

0 commit comments

Comments
 (0)