~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: replace bare except clauses in search strategies (#2020)
LearningCircuit565b12c188c8
diff --git a/src/local_deep_research/advanced_search_system/strategies/browsecomp_optimized_strategy.py b/src/local_deep_research/advanced_search_system/strategies/browsecomp_optimized_strategy.pyindex cf6f3f74d1..bce4d74515 100644--- a/src/local_deep_research/advanced_search_system/strategies/browsecomp_optimized_strategy.py+++ b/src/local_deep_research/advanced_search_system/strategies/browsecomp_optimized_strategy.py@@ -521,7 +521,7 @@ ELIMINATED_CANDIDATES:confidence_str = parts[1].strip()try:confidence = float(confidence_str.split()[0])- except:+ except (ValueError, IndexError):confidence = 0.5# Update or add candidatediff --git a/src/local_deep_research/advanced_search_system/strategies/dual_confidence_strategy.py b/src/local_deep_research/advanced_search_system/strategies/dual_confidence_strategy.pyindex 9c671b404a..ac22f4d4b0 100644--- a/src/local_deep_research/advanced_search_system/strategies/dual_confidence_strategy.py+++ b/src/local_deep_research/advanced_search_system/strategies/dual_confidence_strategy.py@@ -159,7 +159,7 @@ UNCERTAINTY: [score]if match:try:return float(match.group(1))- except:+ except ValueError:passreturn 0.1 # Default low scorediff --git a/src/local_deep_research/advanced_search_system/strategies/early_stop_constrained_strategy.py b/src/local_deep_research/advanced_search_system/strategies/early_stop_constrained_strategy.pyindex 2ececec337..0281e00fa1 100644--- a/src/local_deep_research/advanced_search_system/strategies/early_stop_constrained_strategy.py+++ b/src/local_deep_research/advanced_search_system/strategies/early_stop_constrained_strategy.py@@ -336,7 +336,7 @@ class EarlyStopConstrainedStrategy(ParallelConstrainedStrategy):if matches:try:return float(matches[-1]) # Use last number found- except:+ except ValueError:pass# Default confidence based on keywordsdiff --git a/src/local_deep_research/advanced_search_system/strategies/evidence_based_strategy_v2.py b/src/local_deep_research/advanced_search_system/strategies/evidence_based_strategy_v2.pyindex bbdcffe664..d63db3d43e 100644--- a/src/local_deep_research/advanced_search_system/strategies/evidence_based_strategy_v2.py+++ b/src/local_deep_research/advanced_search_system/strategies/evidence_based_strategy_v2.py@@ -935,7 +935,7 @@ class EnhancedEvidenceBasedStrategy(EvidenceBasedStrategy):line.strip() for line in content.split("\n") if line.strip()]return synonyms[:3]- except:+ except Exception:return [] # Return empty list on errordef _find_common_terms(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 1dfe277592..8310a4aba7 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@@ -441,7 +441,7 @@ Response:"""try:domain = urlparse(url).netloc if url else ""- except:+ except Exception:domain = ""# Format source info without restrictions