cua move action better reasoning (#2145)

This commit is contained in:
Shuchang Zheng
2025-04-13 00:34:50 -07:00
committed by GitHub
parent 3cbfda57bd
commit b584dc85b0

View File

@@ -283,6 +283,7 @@ async def parse_cua_actions(
intention=reasoning, intention=reasoning,
) )
case "move": case "move":
reasoning = reasoning or f"Move mouse to: ({cua_action.x}, {cua_action.y})"
action = MoveAction( action = MoveAction(
x=cua_action.x, x=cua_action.x,
y=cua_action.y, y=cua_action.y,