shu/cua other action (#2154)
This commit is contained in:
@@ -1439,6 +1439,12 @@ async def handle_complete_action(
|
||||
workflow_run_id=task.workflow_run_id,
|
||||
)
|
||||
action.verified = True
|
||||
if not task.data_extraction_goal and verification_result.thoughts:
|
||||
await app.DATABASE.update_task(
|
||||
task.task_id,
|
||||
organization_id=task.organization_id,
|
||||
extracted_information=verification_result.thoughts,
|
||||
)
|
||||
|
||||
return [ActionSuccess()]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user