~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 search result count tracking in source-based strategy
LearningCircuit2fbd8ef7d8f8
diff --git a/src/local_deep_research/advanced_search_system/strategies/source_based_strategy.py b/src/local_deep_research/advanced_search_system/strategies/source_based_strategy.pyindex 55dc4dbae4..38d27de0ef 100644--- a/src/local_deep_research/advanced_search_system/strategies/source_based_strategy.py+++ b/src/local_deep_research/advanced_search_system/strategies/source_based_strategy.py@@ -8,6 +8,7 @@ from ...config.llm_config import get_llmfrom ...config.search_config import get_searchfrom ...utilities.db_utils import get_db_settingfrom ...utilities.threading_utils import thread_context, thread_with_app_context+from ...utilities.thread_context import preserve_research_contextfrom ..filters.cross_engine_filter import CrossEngineFilterfrom ..findings.repository import FindingsRepositoryfrom ..questions.atomic_fact_question import AtomicFactQuestionGenerator@@ -211,6 +212,7 @@ class SourceBasedSearchStrategy(BaseSearchStrategy):# Function for thread pool@thread_with_app_context+ @preserve_research_contextdef search_question(q):try:result = self.search.run(q)