fix workflow_run.run_with override (#3543)

This commit is contained in:
Shuchang Zheng
2025-09-27 11:18:17 -07:00
committed by GitHub
parent 11d4518369
commit 56b4d828c1
4 changed files with 36 additions and 18 deletions

View File

@@ -1697,6 +1697,7 @@ class AgentDB:
extra_http_headers: dict[str, str] | None = None,
browser_address: str | None = None,
sequential_key: str | None = None,
run_with: str | None = None,
) -> WorkflowRun:
try:
async with self.Session() as session:
@@ -1715,6 +1716,7 @@ class AgentDB:
extra_http_headers=extra_http_headers,
browser_address=browser_address,
sequential_key=sequential_key,
run_with=run_with,
)
session.add(workflow_run)
await session.commit()