Skip to content

Automate browser based workflows with AI

add required action fields for cua fallback actions (#2142)

Shuchang Zheng4a9ecd0cd275
diff --git a/skyvern/webeye/actions/parse_actions.py b/skyvern/webeye/actions/parse_actions.py
index 64e4f7f49..8383750fa 100644
--- a/skyvern/webeye/actions/parse_actions.py
+++ b/skyvern/webeye/actions/parse_actions.py
@@ -351,5 +351,12 @@ async def parse_cua_actions(
reasoning=reasoning,
intention=reasoning,
)
+
+ action.organization_id = task.organization_id
+ action.workflow_run_id = task.workflow_run_id
+ action.task_id = task.task_id
+ action.step_id = step.step_id
+ action.step_order = step.order
+ action.action_order = 0
return [action]
return actions