~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
docs(scheduler): explain why last_run is not in try/finally (#3532)
LearningCircuit405226638c6b
diff --git a/src/local_deep_research/scheduler/background.py b/src/local_deep_research/scheduler/background.pyindex 3139ddc4a6..455cf461c4 100644--- a/src/local_deep_research/scheduler/background.py+++ b/src/local_deep_research/scheduler/background.py@@ -1037,7 +1037,12 @@ class BackgroundJobScheduler:f"[DOC_SCHEDULER] Error processing research {research.id} for user {username}")- # Update last run time in user's settings+ # Update last run time in user's settings.+ # Intentionally NOT wrapped in try/finally: if upstream setup+ # fails (DB open, SettingsManager init, initial query),+ # last_run should stay put so the next tick retries.+ # Advancing here would mask a persistent failure (corrupted+ # DB, wrong password). See closed PR #3288.current_time = datetime.now(UTC).isoformat()settings_manager.set_setting("document_scheduler.last_run", current_time, commit=True