no need to verify completion when we decide to complete according to CUA response; extract data based on CUA reponse as well (#2156)
This commit is contained in:
@@ -1164,6 +1164,8 @@ class ForgeAgent:
|
||||
and self.step_has_completed_goal(detailed_agent_step_output)
|
||||
):
|
||||
working_page = await browser_state.must_get_working_page()
|
||||
# refresh task in case the extracted information is updated previously
|
||||
task = await app.DATABASE.get_task(task.task_id, task.organization_id)
|
||||
extract_action = await self.create_extract_action(task, step, scraped_page)
|
||||
extract_results = await ActionHandler.handle_action(
|
||||
scraped_page, task, step, working_page, extract_action
|
||||
|
||||
Reference in New Issue
Block a user