add action result, including downloaded files to step.output for both agent and caching runs (#4477)

This commit is contained in:
Shuchang Zheng
2026-01-18 11:17:02 -08:00
committed by GitHub
parent 6a32d8b696
commit bd041ed52f
8 changed files with 245 additions and 16 deletions

View File

@@ -3859,7 +3859,7 @@ class AgentDB(BaseAlchemyDB):
session.add(new_action)
await session.commit()
await session.refresh(new_action)
return Action.model_validate(new_action)
return hydrate_action(new_action)
async def update_action_screenshot_artifact_id(
self, *, organization_id: str, action_id: str, screenshot_artifact_id: str