fix: LLM invoke error should not be raised (#11141)

Signed-off-by: -LAN- <laipz8200@outlook.com>
This commit is contained in:
-LAN- 2024-11-26 20:56:48 +08:00 committed by GitHub
parent 2927493cf3
commit 223a30401c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -197,7 +197,6 @@ class LLMNode(BaseNode[LLMNodeData]):
)
return
except Exception as e:
logger.exception(f"Node {self.node_id} failed to run")
yield RunCompletedEvent(
run_result=NodeRunResult(
status=WorkflowNodeExecutionStatus.FAILED,