mirror of https://github.com/langgenius/dify.git
feat: add user uid
This commit is contained in:
parent
94047de8b4
commit
f3d19f9691
|
|
@ -42,7 +42,7 @@ class ToolNode(BaseNode):
|
|||
|
||||
try:
|
||||
# TODO: user_id
|
||||
messages = tool_runtime.invoke(None, parameters)
|
||||
messages = tool_runtime.invoke(self.user_id, parameters)
|
||||
except Exception as e:
|
||||
return NodeRunResult(
|
||||
status=WorkflowNodeExecutionStatus.FAILED,
|
||||
|
|
|
|||
Loading…
Reference in New Issue