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.

fix(library): make FAISS quarantine WARNING actionable (#4221)

LearningCircuit63776ba906d5
diff --git a/src/local_deep_research/research_library/services/library_rag_service.py b/src/local_deep_research/research_library/services/library_rag_service.py
index e108d5d765..2055dfb53d 100644
--- a/src/local_deep_research/research_library/services/library_rag_service.py
+++ b/src/local_deep_research/research_library/services/library_rag_service.py
@@ -459,7 +459,12 @@ class LibraryRAGService:
index_path.rename(faiss_target)
logger.warning(
f"Quarantined corrupted FAISS index to {faiss_target} "
- f"(reason: {reason})"
+ f"(reason: {reason}). Searches against this collection "
+ f"will return empty results until the index is rebuilt. "
+ f"Document chunks are preserved in the database — "
+ f"trigger 'Re-index Collection' (or set "
+ f"research_library.auto_index_enabled=true and re-run "
+ f"indexing) to recover."
)
if pkl_path.exists():
pkl_path.rename(pkl_target)