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.

chore: Add debug logging to topic generator

LearningCircuit7877ef1d56af
diff --git a/src/local_deep_research/news/utils/topic_generator.py b/src/local_deep_research/news/utils/topic_generator.py
index e7ef918300..25340bc0a4 100644
--- a/src/local_deep_research/news/utils/topic_generator.py
+++ b/src/local_deep_research/news/utils/topic_generator.py
@@ -41,6 +41,10 @@ def _generate_with_llm(
try:
from ...config.llm_config import get_llm
+ logger.debug(
+ f"Topic generation - findings length: {len(findings) if findings else 0}, category: {category}"
+ )
+
# Use the configured model for topic generation
llm = get_llm(temperature=0.5)