Amir Mahla commited on
Commit
3cf734e
·
1 Parent(s): 2d6254f

FIX double-click string repr

Browse files
cua2-core/src/cua2_core/models/models.py CHANGED
@@ -42,7 +42,7 @@ class AgentAction(FunctionCall):
42
  if action_type == "double_click":
43
  x = args.get("x") or args.get("arg_0")
44
  y = args.get("y") or args.get("arg_1")
45
- return f"Right click at coordinates ({x}, {y})"
46
 
47
  if action_type == "move_mouse":
48
  x = args.get("x") or args.get("arg_0")
 
42
  if action_type == "double_click":
43
  x = args.get("x") or args.get("arg_0")
44
  y = args.get("y") or args.get("arg_1")
45
+ return f"Double click at coordinates ({x}, {y})"
46
 
47
  if action_type == "move_mouse":
48
  x = args.get("x") or args.get("arg_0")