~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
feat: Prevent source/reference sections in report generation
LearningCircuit95f12bce1a2f
diff --git a/src/local_deep_research/report_generator.py b/src/local_deep_research/report_generator.pyindex dea33b9710..0b2604809e 100644--- a/src/local_deep_research/report_generator.py+++ b/src/local_deep_research/report_generator.py@@ -88,6 +88,7 @@ class IntegratedReportGenerator:Make the structure specific to the content, not generic.Each subsection must include its purpose after the | symbol.+ DO NOT include sections about sources, citations, references, or methodology."""response = search_utilities.remove_think_tags(@@ -123,6 +124,28 @@ class IntegratedReportGenerator:})+ # Check if the last section is source-related and remove it+ if structure:+ last_section = structure[-1]+ section_name_lower = last_section["name"].lower()+ source_keywords = [+ "source",+ "citation",+ "reference",+ "bibliography",+ "methodology",+ "timeline",+ ]++ # Only check the last section for source-related content+ if any(+ keyword in section_name_lower for keyword in source_keywords+ ):+ logger.info(+ f"Removed source-related last section: {last_section['name']}"+ )+ structure = structure[:-1]+return structuredef _research_and_generate_sections(