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(dry): post-merge review cleanups — drop redundant override, use research_id (#4729)

LearningCircuit9277596514d1
diff --git a/src/local_deep_research/advanced_search_system/strategies/focused_iteration_strategy.py b/src/local_deep_research/advanced_search_system/strategies/focused_iteration_strategy.py
index 63758e579e..d8905d63d9 100644
--- a/src/local_deep_research/advanced_search_system/strategies/focused_iteration_strategy.py
+++ b/src/local_deep_research/advanced_search_system/strategies/focused_iteration_strategy.py
@@ -454,11 +454,3 @@ class FocusedIterationStrategy(BaseSearchStrategy):
# Default: continue to max iterations for thoroughness
return False
-
- def _create_error_response(self, error_msg: str) -> Dict:
- """Create standardized error response (delegates to base).
-
- The base method includes both ``questions`` and
- ``questions_by_iteration`` keys to satisfy all consumers.
- """
- return super()._create_error_response(error_msg)
diff --git a/src/local_deep_research/web/routes/research_routes.py b/src/local_deep_research/web/routes/research_routes.py
index 0573e1b646..03d5bf723d 100644
--- a/src/local_deep_research/web/routes/research_routes.py
+++ b/src/local_deep_research/web/routes/research_routes.py
@@ -354,7 +354,11 @@ def _research_not_found(research_id, message="Research not found"):
- Shape A readers read ``data.error``
- Shape B readers read ``data.status`` (``== "error"``) and/or
``data.message``
+
+ ``research_id`` is used only for a debug log identifying which research
+ was missing; it is intentionally never echoed in the response body.
"""
+ logger.debug(f"404 for research {research_id}: {message}")
return (
jsonify({"status": "error", "error": message, "message": message}),
404,