~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(citations): tell follow-up prompts not to create a bibliography (#3638)
LearningCircuit150332788601
diff --git a/src/local_deep_research/citation_handlers/forced_answer_citation_handler.py b/src/local_deep_research/citation_handlers/forced_answer_citation_handler.pyindex 65d41fcd67..89b4212b7d 100644--- a/src/local_deep_research/citation_handlers/forced_answer_citation_handler.py+++ b/src/local_deep_research/citation_handlers/forced_answer_citation_handler.py@@ -115,6 +115,7 @@ CRITICAL INSTRUCTIONS:4. If the question asks for a place, provide a specific place5. If unsure, choose the answer with the most supporting evidence6. Format: "[Direct Answer]. Supporting evidence from [1], [2]..."+7. Do not create the bibliography, it will be provided automatically.Remember: A wrong answer is better than no answer for this task."""diff --git a/src/local_deep_research/citation_handlers/precision_extraction_handler.py b/src/local_deep_research/citation_handlers/precision_extraction_handler.pyindex 6d5253ac68..f119f1737b 100644--- a/src/local_deep_research/citation_handlers/precision_extraction_handler.py+++ b/src/local_deep_research/citation_handlers/precision_extraction_handler.py@@ -131,7 +131,7 @@ PRECISION REQUIREMENTS:4. For measurements, ensure units and dimension types match the question5. Reconcile any conflicts by choosing the most frequently cited answer-Provide the precise answer with citations."""+Provide the precise answer with citations. Do not create the bibliography, it will be provided automatically."""response = self.llm.invoke(prompt)content = response.contentdiff --git a/src/local_deep_research/citation_handlers/standard_citation_handler.py b/src/local_deep_research/citation_handlers/standard_citation_handler.pyindex 10dbb837b1..688449e414 100644--- a/src/local_deep_research/citation_handlers/standard_citation_handler.py+++ b/src/local_deep_research/citation_handlers/standard_citation_handler.py@@ -90,7 +90,7 @@ New Sources:Current time is {current_timestamp} UTC for verifying temporal references in sources.Reflect information from sources critically based on: {fact_check_response}. Never invent sources.-Provide a detailed answer with citations. Example format: "According to [1], ..." """+Provide a detailed answer with citations. Do not create the bibliography, it will be provided automatically. Example format: "According to [1], ..." """response = self.llm.invoke(prompt)