mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
fix: Get workspace_id from workflow params
This commit is contained in:
parent
76dcc22ae6
commit
434a9bf3e4
|
|
@ -146,7 +146,7 @@ class BaseKnowledgeWriteNode(IKnowledgeWriteNode):
|
|||
document_list = serializer.data
|
||||
|
||||
knowledge_id = self.workflow_params.get("knowledge_id")
|
||||
workspace_id = "default"
|
||||
workspace_id = self.workflow_params.get("workspace_id")
|
||||
|
||||
document_model_list = []
|
||||
paragraph_model_list = []
|
||||
|
|
|
|||
Loading…
Reference in New Issue