Skip to content

~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.

fix: replace bare except clauses in citation_formatter.py (#2016)

LearningCircuit555c33cce273
diff --git a/src/local_deep_research/text_optimization/citation_formatter.py b/src/local_deep_research/text_optimization/citation_formatter.py
index c6eeb50dc3..c5f5d25178 100644
--- a/src/local_deep_research/text_optimization/citation_formatter.py
+++ b/src/local_deep_research/text_optimization/citation_formatter.py
@@ -455,7 +455,7 @@ class CitationFormatter:
if len(parts) >= 2:
return ".".join(parts[-2:])
return domain
- except:
+ except Exception:
return "source"
@@ -797,7 +797,7 @@ class RISExporter:
else:
# Use domain as publisher
lines.append(f"PB - {domain}")
- except:
+ except Exception:
pass
# Y1 - Year accessed (current year)