mirror of
https://github.com/langgenius/dify.git
synced 2026-04-12 14:10:42 +08:00
fix: tests
Signed-off-by: -LAN- <laipz8200@outlook.com>
This commit is contained in:
parent
a923ab1ab8
commit
ba5df3612b
@ -144,6 +144,8 @@ class Node:
|
||||
elif isinstance(event, GraphNodeEventBase) and not event.in_iteration_id and not event.in_loop_id: # pyright: ignore[reportUnnecessaryIsInstance]
|
||||
event.id = self._node_execution_id
|
||||
yield event
|
||||
else:
|
||||
yield event
|
||||
except Exception as e:
|
||||
logger.exception("Node %s failed to run", self._node_id)
|
||||
result = NodeRunResult(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user