mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-14 01:15:56 +08:00
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
This commit is contained in:
parent
84ac004772
commit
efdd54a670
@ -48,9 +48,11 @@ class StreamProcessor(ABC):
|
|||||||
# we remove the node maybe shortcut the answer node, so comment this code for now
|
# we remove the node maybe shortcut the answer node, so comment this code for now
|
||||||
# there is not effect on the answer node and the workflow, when we have a better solution
|
# there is not effect on the answer node and the workflow, when we have a better solution
|
||||||
# we can open this code. Issues: #11542 #9560 #10638 #10564
|
# we can open this code. Issues: #11542 #9560 #10638 #10564
|
||||||
|
ids = self._fetch_node_ids_in_reachable_branch(edge.target_node_id)
|
||||||
# reachable_node_ids.extend(self._fetch_node_ids_in_reachable_branch(edge.target_node_id))
|
if "answer" in ids:
|
||||||
continue
|
continue
|
||||||
|
else:
|
||||||
|
reachable_node_ids.extend(ids)
|
||||||
else:
|
else:
|
||||||
unreachable_first_node_ids.append(edge.target_node_id)
|
unreachable_first_node_ids.append(edge.target_node_id)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user