fix: Loop internal node error did not terminate workflow (#4520)

This commit is contained in:
shaohuzhang1 2025-12-16 10:54:54 +08:00 committed by shaohuzhang1
parent 9f4a551293
commit e4339a081b

View File

@ -471,6 +471,8 @@ class WorkflowManage:
current_node.node_chunk.add_chunk(chunk) current_node.node_chunk.add_chunk(chunk)
else: else:
list(result) list(result)
if current_node.status == 500:
return None
return current_result return current_result
except Exception as e: except Exception as e:
# 添加节点 # 添加节点