Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,7 @@ async def handle_document_tracking(
is_first_batch: bool,
retain_params: dict | None = None,
document_tags: list[str] | None = None,
ops=None,
) -> None:
"""
Handle document tracking in the database (full-replace mode).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1103,6 +1103,7 @@ async def _process_db_batch(
is_first_batch,
retain_params,
merged_tags,
ops=pool.ops,
)
doc_tracking_done[0] = True
log_buffer.append(f"[streaming] Document {effective_doc_id} tracked (0 facts in first batch)")
Expand Down Expand Up @@ -1205,6 +1206,7 @@ async def _run_mini_batch_db_work() -> None:
is_first_batch,
retain_params,
merged_tags,
ops=pool.ops,
)
log_buffer.append(f"[streaming] Document {effective_doc_id} tracked (full content)")
doc_tracking_done[0] = True
Expand Down