add required action fields for cua fallback actions (#2142)
This commit is contained in:
@@ -351,5 +351,12 @@ async def parse_cua_actions(
|
|||||||
reasoning=reasoning,
|
reasoning=reasoning,
|
||||||
intention=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 [action]
|
||||||
return actions
|
return actions
|
||||||
|
|||||||
Reference in New Issue
Block a user