post step execution (#1765)

This commit is contained in:
Shuchang Zheng
2025-02-13 16:32:21 +08:00
committed by GitHub
parent 88ce5fc1bb
commit 6a5fd7aaaa
2 changed files with 4 additions and 0 deletions

View File

@@ -378,6 +378,7 @@ class ForgeAgent:
step, detailed_output = await self.agent_step(
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)
retry = False

View File

@@ -436,6 +436,9 @@ class AgentFunction:
"""
return
async def post_step_execution(self, task: Task, step: Step) -> None:
return
async def generate_async_operations(
self,
organization: Organization,