Skip to content

Automate browser based workflows with AI

cua move action better reasoning (#2145)

Shuchang Zhengb584dc85b0f3
diff --git a/skyvern/webeye/actions/parse_actions.py b/skyvern/webeye/actions/parse_actions.py
index 4017abd1f..3ef46893e 100644
--- a/skyvern/webeye/actions/parse_actions.py
+++ b/skyvern/webeye/actions/parse_actions.py
@@ -283,6 +283,7 @@ async def parse_cua_actions(
intention=reasoning,
)
case "move":
+ reasoning = reasoning or f"Move mouse to: ({cua_action.x}, {cua_action.y})"
action = MoveAction(
x=cua_action.x,
y=cua_action.y,