~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.
Python academiaanthropicarxivbravedeep-researchencryptionhome-automationhomeserverlocallocal-deep-researchlocal-llmmistralollamaopenaipubmedresearchresearch-toolretrieval-augmented-generationsearxngself-hosted
fix: pass username instead of Session to get_default_library_id (#2136)
LearningCircuit2ede23cd493e
diff --git a/src/local_deep_research/research_library/services/download_service.py b/src/local_deep_research/research_library/services/download_service.pyindex 4fd26031ad..c91ca7417e 100644--- a/src/local_deep_research/research_library/services/download_service.py+++ b/src/local_deep_research/research_library/services/download_service.py@@ -288,7 +288,7 @@ class DownloadService:if not collection_id:from ...database.library_init import get_default_library_id- collection_id = get_default_library_id(self.username)+ collection_id = get_default_library_id(self.username, self.password)with get_user_db_session(self.username, self.password) as session:# Get all resources for this research@@ -500,8 +500,12 @@ class DownloadService:)if doc:# Use collection_id from queue entry or default Library+ # NB: pass username string, not the SQLAlchemy sessiontarget_collection = (- collection_id or get_default_library_id(session)+ collection_id+ or get_default_library_id(+ self.username, self.password+ ))if target_collection:trigger_auto_index(@@ -657,7 +661,8 @@ class DownloadService:)# Use provided collection_id or default to Librarylibrary_collection_id = (- collection_id or get_default_library_id(self.username)+ collection_id+ or get_default_library_id(self.username, self.password))except Exception:logger.exception(