fix: await pending variable extraction tasks before pipeline finishes

This commit is contained in:
Sabiha Khan 2026-03-23 09:40:20 +05:30
parent c61a3843a5
commit 563e631522
2 changed files with 53 additions and 4 deletions

View file

@ -145,7 +145,7 @@ def register_event_handlers(
logger.debug(f"Added trace URL to gathered_context: {trace_url}")
# also consider existing gathered context in workflow_run
gathered_context = {**gathered_context, **workflow_run.gathered_context}
gathered_context = {**workflow_run.gathered_context, **gathered_context}
# Set user_speech call tag
call_tags = gathered_context.get("call_tags", [])