~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: handle None original_url in delete_document and open_file_location
LearningCircuit49ed52b0065c
diff --git a/src/local_deep_research/research_library/services/library_service.py b/src/local_deep_research/research_library/services/library_service.pyindex 10baf478c8..e7ce85300b 100644--- a/src/local_deep_research/research_library/services/library_service.py+++ b/src/local_deep_research/research_library/services/library_service.py@@ -668,12 +668,14 @@ class LibraryService:if not doc:return False- # Get file path from tracker- tracker = (- session.query(DownloadTracker)- .filter_by(url_hash=self._get_url_hash(doc.original_url))- .first()- )+ # Get file path from tracker (only if document has original_url)+ tracker = None+ if doc.original_url:+ tracker = (+ session.query(DownloadTracker)+ .filter_by(url_hash=self._get_url_hash(doc.original_url))+ .first()+ )# Delete physical fileif tracker and tracker.file_path:@@ -705,11 +707,13 @@ class LibraryService:if not doc:return False- tracker = (- session.query(DownloadTracker)- .filter_by(url_hash=self._get_url_hash(doc.original_url))- .first()- )+ tracker = None+ if doc.original_url:+ tracker = (+ session.query(DownloadTracker)+ .filter_by(url_hash=self._get_url_hash(doc.original_url))+ .first()+ )if tracker and tracker.file_path:absolute_path = get_absolute_path_from_settings(