fix weird syntax error (#18454)

This commit is contained in:
Will 2025-04-21 14:18:32 +08:00 committed by GitHub
parent 5d9c67e97e
commit cb69cb2d64
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -94,7 +94,7 @@ class DatasetRetrieverTool(DatasetRetrieverBaseTool):
"title": item.metadata.get("title"),
"content": item.page_content,
}
context_list.append(source)
context_list.append(source)
for hit_callback in self.hit_callbacks:
hit_callback.return_retriever_resource_info(context_list)