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.

docs(search_system): say where strategy_name and research_context come from (#7750)

Lukas453e113755bf
diff --git a/src/local_deep_research/search_system.py b/src/local_deep_research/search_system.py
index dc181c968a..2b917318f1 100644
--- a/src/local_deep_research/search_system.py
+++ b/src/local_deep_research/search_system.py
@@ -130,10 +130,10 @@ class AdvancedSearchSystem:
prompts to search engines.
"""
- # Both are read back from JSON-typed sources, so either may hold any
- # JSON type: strategy_name can come from settings or a replayed queue
- # row; research_context from the chat/follow-up routers or the
- # programmatic API parameter.
+ # strategy_name can come from settings or from a replayed queue row
+ # read back from JSON, so it may hold any type. The router path
+ # always passes research_context as a dict, but a programmatic
+ # caller can pass any type.
if not isinstance(strategy_name, str):
logger.warning(
f"Ignoring non-string strategy_name "