Skip to content

~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.

fixing focused iteration strategy (#478)

LearningCircuit1af1cb482e56
diff --git a/src/local_deep_research/__version__.py b/src/local_deep_research/__version__.py
index 6b27eeebfd..86716a713a 100644
--- a/src/local_deep_research/__version__.py
+++ b/src/local_deep_research/__version__.py
@@ -1 +1 @@
-__version__ = "0.5.4"
+__version__ = "0.5.5"
diff --git a/src/local_deep_research/advanced_search_system/questions/standard_question.py b/src/local_deep_research/advanced_search_system/questions/standard_question.py
index 86684fc902..0bbb3cde5a 100644
--- a/src/local_deep_research/advanced_search_system/questions/standard_question.py
+++ b/src/local_deep_research/advanced_search_system/questions/standard_question.py
@@ -50,7 +50,7 @@ class StandardQuestionGenerator(BaseQuestionGenerator):
response_text = str(response)
questions = [
- q.replace("Q:", "").strip().strip("\"'")
+ q.replace("Q:", "").strip()
for q in response_text.split("\n")
if q.strip().startswith("Q:")
][:questions_per_iteration]
diff --git a/src/local_deep_research/advanced_search_system/strategies/focused_iteration_strategy.py b/src/local_deep_research/advanced_search_system/strategies/focused_iteration_strategy.py
index 99259de824..e1214ef080 100644
--- a/src/local_deep_research/advanced_search_system/strategies/focused_iteration_strategy.py
+++ b/src/local_deep_research/advanced_search_system/strategies/focused_iteration_strategy.py
@@ -55,7 +55,7 @@ class FocusedIterationStrategy(BaseSearchStrategy):
all_links_of_system=None,
max_iterations: int = 8, # OPTIMAL FOR SIMPLEQA: 96.51% accuracy achieved
questions_per_iteration: int = 5, # OPTIMAL FOR SIMPLEQA: proven config
- use_browsecomp_optimization: bool = True, # Can be False for pure SimpleQA
+ use_browsecomp_optimization: bool = False, # Can be False for pure SimpleQA
):
"""Initialize with components optimized for focused iteration."""
super().__init__(all_links_of_system)