mirror of
https://github.com/langgenius/dify.git
synced 2026-05-01 07:58:02 +08:00
compatible query is None
This commit is contained in:
@ -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,
|
||||
|
||||
Reference in New Issue
Block a user