~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
Merge branch 'dev' into feature/comprehensive-security-enhancements
LearningCircuitd869d4bf786f
diff --cc src/local_deep_research/web/services/research_service.pyindex 431d35f141,1189dedeb6..e095bfa3d7--- a/src/local_deep_research/web/services/research_service.py+++ b/src/local_deep_research/web/services/research_service.py@@@ -1572,48 -1591,9 +1572,47 @@@ def run_research_processnow = datetime.now(UTC)completed_at = now.isoformat()+ # NOTE: Database updates from threads are handled by queue processor+ # The queue_processor.queue_error_update() method is already being used below+ # to safely update the database from the main thread+ """+ # DEPRECATED: Direct database updates from background threads+ # Get the start time from the database+ duration_seconds = None+ with get_user_db_session(username) as db_session:+ research = (+ db_session.query(ResearchHistory)+ .filter_by(id=research_id)+ .first()+ )+ assert research is not None, "Research not in database"++ duration_seconds = calculate_duration(research.created_at)++ with get_user_db_session(username) as db_session:+ research = (+ db_session.query(ResearchHistory)+ .filter_by(id=research_id)+ .first()+ )+ assert research is not None, "Research not in database"++ # Update the ResearchHistory object with the new status and completion time+ research.status = status+ research.completed_at = completed_at+ research.duration_seconds = duration_seconds+ research.research_meta = metadata++ # Add error report path if available+ if "report_path_to_save" in locals() and report_path_to_save:+ research.report_path = report_path_to_save++ db_session.commit()+ """+# Queue the error update to be processed in main thread- # Using the existing queue processor system (there are multiple implementations:- # processor.py, processor_v2.py, and several queue models as noted in issue #596)- from ..queue.processor import queue_processor+ # Using the queue processor v2 system+ from ..queue.processor_v2 import queue_processorif username:queue_processor.queue_error_update(