mirror of https://github.com/langgenius/dify.git
compatible query is None
This commit is contained in:
parent
62919a9ff5
commit
0026cb404f
|
|
@ -384,6 +384,8 @@ class KnowledgeRetrievalNode(BaseNode):
|
|||
"""
|
||||
Handle query.
|
||||
"""
|
||||
if not query:
|
||||
return
|
||||
for dataset_id in dataset_ids:
|
||||
dataset_query = DatasetQuery(
|
||||
dataset_id=dataset_id,
|
||||
|
|
|
|||
Loading…
Reference in New Issue