~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(report): use full synthesized content for detailed outline planning (#6711)
Sb679031c1404
diff --git a/changelog.d/6640.bugfix.md b/changelog.d/6640.bugfix.mdnew file mode 100644index 0000000000..c16c2c9e02--- /dev/null+++ b/changelog.d/6640.bugfix.md@@ -0,0 +1 @@+Pass the full synthesized initial research content to the report structure planner instead of truncating at 1000 characters, enabling comprehensive outline planning based on complete initial findings.diff --git a/src/local_deep_research/report_generator.py b/src/local_deep_research/report_generator.pyindex 30ba9bff04..f57ce069fa 100644--- a/src/local_deep_research/report_generator.py+++ b/src/local_deep_research/report_generator.py@@ -425,15 +425,15 @@ class IntegratedReportGenerator:def _determine_report_structure(self, findings: Dict, query: str) -> List[Dict]:- """Analyze content and determine optimal report structure."""+ """Analyze content and determine the optimal detailed report structure."""combined_content = findings["current_knowledge"]prompt = f"""Analyze this research content about: {query}Content Summary:- {combined_content[:1000]}... [truncated]+ {combined_content}- Determine the most appropriate report structure by:+ Determine the most appropriate detailed report structure by:1. Analyzing the type of content (technical, business, academic, etc.)2. Identifying main themes and logical groupings3. Considering the depth and breadth of the research