fix: call and stream id for vobiz pipeline

This commit is contained in:
Sabiha Khan 2025-12-11 15:38:41 +05:30
parent 2b4df0025f
commit 1e94a06942
5 changed files with 37 additions and 13 deletions

View file

@ -306,6 +306,7 @@ class WorkflowRunClient(BaseDBClient):
initial_context: dict | None = None,
gathered_context: dict | None = None,
logs: dict | None = None,
state: str | None = None,
) -> WorkflowRunModel:
async with self.async_session() as session:
result = await session.execute(
@ -337,6 +338,8 @@ class WorkflowRunClient(BaseDBClient):
run.logs = {**run.logs, **logs}
if is_completed:
run.is_completed = is_completed
if state:
run.state = state
try:
await session.commit()
except Exception as e: