소스 검색

fix(graph_engine): block response nodes during streaming (#26364)

tags/1.9.1
-LAN- 1 개월 전
부모
커밋
d00a72a435
No account linked to committer's email address
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2
    1
      api/core/workflow/graph_engine/response_coordinator/coordinator.py

+ 2
- 1
api/core/workflow/graph_engine/response_coordinator/coordinator.py 파일 보기

@@ -212,10 +212,11 @@ class ResponseStreamCoordinator:
edge = self._graph.edges[edge_id]
source_node = self._graph.nodes[edge.tail]

# Check if node is a branch/container (original behavior)
# Check if node is a branch, container, or response node
if source_node.execution_type in {
NodeExecutionType.BRANCH,
NodeExecutionType.CONTAINER,
NodeExecutionType.RESPONSE,
} or source_node.blocks_variable_output(variable_selectors):
blocking_edges.append(edge_id)


Loading…
취소
저장