~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: move progress back inside if-block, move results_with_links to closest scope
hashedviking76dc29901389
diff --git a/search_system.py b/search_system.pyindex 624c8b8cbd..a401e85262 100644--- a/search_system.py+++ b/search_system.py@@ -152,9 +152,9 @@ class AdvancedSearchSystem:section_links.extend(links)formatted_links = ""if links:- formatted_links=format_links(links=links)- results_with_links = str(result["content"]) #+ "\n" + str(formatted_links)+ formatted_links=format_links(links=links)if result is not None:+ results_with_links = str(result["content"])findings.append({"phase": f"Follow-up {iteration}.{questions.index(question) + 1}",@@ -165,19 +165,19 @@ class AdvancedSearchSystem:})- if config.KNOWLEDGE_ACCUMULATION != KnowledgeAccumulationApproach.NO_KNOWLEDGE:- current_knowledge = current_knowledge + "\n\n\n New: \n" + results_with_links-- print(current_knowledge)- if config.KNOWLEDGE_ACCUMULATION == KnowledgeAccumulationApproach.QUESTION:- self._update_progress(f"Compress Knowledge for: {question}",- int(question_progress_base + 0),- {"phase": "analysis"})- current_knowledge = self._compress_knowledge(current_knowledge , query, section_links)-- self._update_progress(f"Analysis complete for question: {question}",- int(question_progress_base + 10),- {"phase": "analysis_complete"})+ if config.KNOWLEDGE_ACCUMULATION != KnowledgeAccumulationApproach.NO_KNOWLEDGE:+ current_knowledge = current_knowledge + "\n\n\n New: \n" + results_with_links++ print(current_knowledge)+ if config.KNOWLEDGE_ACCUMULATION == KnowledgeAccumulationApproach.QUESTION:+ self._update_progress(f"Compress Knowledge for: {question}",+ int(question_progress_base + 0),+ {"phase": "analysis"})+ current_knowledge = self._compress_knowledge(current_knowledge , query, section_links)++ self._update_progress(f"Analysis complete for question: {question}",+ int(question_progress_base + 10),+ {"phase": "analysis_complete"})iteration += 1