Bläddra i källkod

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

tags/1.9.1
-LAN- 1 månad sedan
förälder
incheckning
d00a72a435
Inget konto är kopplat till bidragsgivarens mejladress

+ 2
- 1
api/core/workflow/graph_engine/response_coordinator/coordinator.py Visa fil

edge = self._graph.edges[edge_id] edge = self._graph.edges[edge_id]
source_node = self._graph.nodes[edge.tail] 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 { if source_node.execution_type in {
NodeExecutionType.BRANCH, NodeExecutionType.BRANCH,
NodeExecutionType.CONTAINER, NodeExecutionType.CONTAINER,
NodeExecutionType.RESPONSE,
} or source_node.blocks_variable_output(variable_selectors): } or source_node.blocks_variable_output(variable_selectors):
blocking_edges.append(edge_id) blocking_edges.append(edge_id)



Laddar…
Avbryt
Spara