mirror of
https://github.com/langgenius/dify.git
synced 2024-11-16 11:42:29 +08:00
refactor: remove unnecessary comment (#8949)
This commit is contained in:
parent
0d84221b2c
commit
2deaece7e2
|
@ -44,7 +44,6 @@ class DatasetIndexToolCallbackHandler:
|
|||
DocumentSegment.index_node_id == document.metadata["doc_id"]
|
||||
)
|
||||
|
||||
# if 'dataset_id' in document.metadata:
|
||||
if "dataset_id" in document.metadata:
|
||||
query = query.filter(DocumentSegment.dataset_id == document.metadata["dataset_id"])
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user