mirror of
https://github.com/MODSetter/SurfSense.git
synced 2025-09-01 18:19:08 +00:00
Replaced deprecated stream service sources update call
This commit is contained in:
parent
dd7768206c
commit
53a79d9b65
1 changed files with 1 additions and 2 deletions
|
@ -810,8 +810,7 @@ async def fetch_relevant_documents(
|
|||
|
||||
# After all sources are collected and deduplicated, stream them
|
||||
if streaming_service and writer:
|
||||
streaming_service.only_update_sources(deduplicated_sources)
|
||||
writer({"yield_value": streaming_service._format_annotations()})
|
||||
writer({"yield_value": streaming_service.format_sources_delta(deduplicated_sources)})
|
||||
|
||||
# Deduplicate raw documents based on chunk_id or content
|
||||
seen_chunk_ids = set()
|
||||
|
|
Loading…
Add table
Reference in a new issue