post step execution (#1765)
This commit is contained in:
@@ -378,6 +378,7 @@ class ForgeAgent:
|
|||||||
step, detailed_output = await self.agent_step(
|
step, detailed_output = await self.agent_step(
|
||||||
task, step, browser_state, organization=organization, task_block=task_block
|
task, step, browser_state, organization=organization, task_block=task_block
|
||||||
)
|
)
|
||||||
|
await app.AGENT_FUNCTION.post_step_execution(task, step)
|
||||||
task = await self.update_task_errors_from_detailed_output(task, detailed_output)
|
task = await self.update_task_errors_from_detailed_output(task, detailed_output)
|
||||||
retry = False
|
retry = False
|
||||||
|
|
||||||
|
|||||||
@@ -436,6 +436,9 @@ class AgentFunction:
|
|||||||
"""
|
"""
|
||||||
return
|
return
|
||||||
|
|
||||||
|
async def post_step_execution(self, task: Task, step: Step) -> None:
|
||||||
|
return
|
||||||
|
|
||||||
async def generate_async_operations(
|
async def generate_async_operations(
|
||||||
self,
|
self,
|
||||||
organization: Organization,
|
organization: Organization,
|
||||||
|
|||||||
Reference in New Issue
Block a user