Skip to content

~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.

docs(models): note UploadBatch is currently dormant (#3951)

LearningCircuit5ef0360de69c
diff --git a/src/local_deep_research/database/models/library.py b/src/local_deep_research/database/models/library.py
index a2683fb35a..e46fcb645a 100644
--- a/src/local_deep_research/database/models/library.py
+++ b/src/local_deep_research/database/models/library.py
@@ -137,6 +137,14 @@ class UploadBatch(Base):
"""
Tracks batches of user-uploaded files.
Groups uploads for traceability and batch operations.
+
+ TODO: As of 2026-05 this table is dormant — no code path creates
+ UploadBatch rows or sets Document.upload_batch_id (declared below at
+ column ``upload_batch_id``). Wiring it up needs a product decision on
+ what defines a "batch" (per upload submit, per UI session, etc.) and
+ surfacing the grouping in the upload routes / UI. Schema is left in
+ place because it's harmless and removing it would require a migration
+ against every user's per-user encrypted DB.
"""
__tablename__ = "upload_batches"