fix: unbound reference

This commit is contained in:
Yeuoly 2024-12-27 11:33:04 +08:00
parent c9eb9c14d7
commit 8102cee8df

View File

@ -352,8 +352,8 @@ class AdvancedChatAppGenerateTaskPipeline(BasedGenerateTaskPipeline, WorkflowCyc
workflow_node_execution=workflow_node_execution, workflow_node_execution=workflow_node_execution,
) )
if response: if response_finish:
yield response yield response_finish
elif isinstance(event, QueueParallelBranchRunStartedEvent): elif isinstance(event, QueueParallelBranchRunStartedEvent):
if not workflow_run: if not workflow_run: