add step prepare and browser clean up (#554)
This commit is contained in:
@@ -503,6 +503,10 @@ class ForgeAgent:
|
||||
step_retry=step.retry_index,
|
||||
)
|
||||
step = await self.update_step(step=step, status=StepStatus.running)
|
||||
await app.AGENT_FUNCTION.prepare_step_execution(
|
||||
organization=organization, task=task, step=step, browser_state=browser_state
|
||||
)
|
||||
|
||||
(
|
||||
scraped_page,
|
||||
extract_action_prompt,
|
||||
|
||||
Reference in New Issue
Block a user