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

View File

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