fix: When executing the knowledge base workflow, the loop node reported an error and the workflow was not terminated (#4532)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run

This commit is contained in:
shaohuzhang1 2025-12-17 14:37:22 +08:00 committed by GitHub
parent 15440479cf
commit f36d881c88
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -89,6 +89,8 @@ class KnowledgeWorkflowManage(WorkflowManage):
if result is not None:
# 阻塞获取结果
list(result)
if current_node.status == 500:
return None
return current_result
except Exception as e:
traceback.print_exc()