mirror of
https://github.com/langgenius/dify.git
synced 2026-05-01 07:58:02 +08:00
r2
This commit is contained in:
@ -273,3 +273,8 @@ class AgentLogEvent(BaseAgentEvent):
|
||||
|
||||
|
||||
InNodeEvent = BaseNodeEvent | BaseParallelBranchEvent | BaseIterationEvent | BaseAgentEvent | BaseLoopEvent
|
||||
|
||||
|
||||
class DatasourceRunEvent(BaseModel):
|
||||
status: str = Field(..., description="status")
|
||||
result: dict[str, Any] = Field(..., description="result")
|
||||
|
||||
@ -127,7 +127,7 @@ class ToolNode(BaseNode[ToolNodeData]):
|
||||
inputs=parameters_for_log,
|
||||
metadata={WorkflowNodeExecutionMetadataKey.TOOL_INFO: tool_info},
|
||||
error=f"Failed to transform tool message: {str(e)}",
|
||||
error_type=type(e).__name__,
|
||||
error_type=type(e).__name__, PipelineGenerator.convert_to_event_strea
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user