mirror of
https://github.com/langgenius/dify.git
synced 2026-04-22 11:47:40 +08:00
record inputs and process data when node failed
This commit is contained in:
@ -55,7 +55,9 @@ class BaseWorkflowCallback(ABC):
|
||||
def on_workflow_node_execute_failed(self, node_id: str,
|
||||
node_type: NodeType,
|
||||
node_data: BaseNodeData,
|
||||
error: str) -> None:
|
||||
error: str,
|
||||
inputs: Optional[dict] = None,
|
||||
process_data: Optional[dict] = None) -> None:
|
||||
"""
|
||||
Workflow node execute failed
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user