~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: improve refinement history display in TopicOrganizationStrategy
LearningCircuitd935e5195a6b
diff --git a/src/local_deep_research/advanced_search_system/strategies/topic_organization_strategy.py b/src/local_deep_research/advanced_search_system/strategies/topic_organization_strategy.pyindex 0d2ee59606..b0edb56bda 100644--- a/src/local_deep_research/advanced_search_system/strategies/topic_organization_strategy.py+++ b/src/local_deep_research/advanced_search_system/strategies/topic_organization_strategy.py@@ -1057,7 +1057,9 @@ Otherwise, respond with only the follow-up question, nothing else.# Add refinement questions as subsequent iterationsfor i, ref_question in enumerate(self.refinement_questions, 1):- questions_by_iteration[max_iter + i] = [ref_question]+ questions_by_iteration[max_iter + i] = [+ f"Topic Refinement: {ref_question}"+ ]# Set questions by iteration for proper formattingself.findings_repository.set_questions_by_iteration(@@ -1065,12 +1067,14 @@ Otherwise, respond with only the follow-up question, nothing else.)# Format findings properly with sources using findings repository- # The generated_text becomes the synthesized_content for format_findings- synthesized_content = (- generated_text- if generated_text- else self._format_topic_findings(relevant_topics, query)+ # Combine generated text with topic findings to include refinement history+ topic_findings_text = self._format_topic_findings(+ relevant_topics, query)+ if generated_text:+ synthesized_content = f"{generated_text}\n\n{topic_findings_text}"+ else:+ synthesized_content = topic_findings_textformatted_findings = self.findings_repository.format_findings_to_text(findings, synthesized_content)