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