add conversation id, app id and message id into plugin session

This commit is contained in:
Yeuoly
2024-10-16 15:10:50 +08:00
parent 31cca4a849
commit 8495ed3348
8 changed files with 94 additions and 14 deletions

View File

@ -73,6 +73,8 @@ class ToolNode(BaseNode):
workflow_tool_callback=DifyWorkflowCallbackHandler(),
workflow_call_depth=self.workflow_call_depth,
thread_pool_id=self.thread_pool_id,
app_id=self.app_id,
# TODO: conversation id and message id
)
except Exception as e:
yield RunCompletedEvent(