From a46f8ae50de02e7fda615e193545ec3a07447206 Mon Sep 17 00:00:00 2001 From: Dillon DuPont Date: Wed, 13 Aug 2025 12:28:37 -0400 Subject: [PATCH] added default button to cli --- libs/python/agent/agent/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/python/agent/agent/cli.py b/libs/python/agent/agent/cli.py index 4d17ca15..de9e3450 100644 --- a/libs/python/agent/agent/cli.py +++ b/libs/python/agent/agent/cli.py @@ -94,7 +94,7 @@ def print_action(action_type: str, details: Dict[str, Any], total_cost: float): # Format action details args_str = "" if action_type == "click" and "x" in details and "y" in details: - args_str = f"_{details['button']}({details['x']}, {details['y']})" + args_str = f"_{details.get('button', 'left')}({details['x']}, {details['y']})" elif action_type == "type" and "text" in details: text = details["text"] if len(text) > 50: