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: Return 401 instead of silently ignoring unauthenticated requests

LearningCircuit73bd6019b72e
diff --git a/src/local_deep_research/news/flask_api.py b/src/local_deep_research/news/flask_api.py
index 763eae0783..be7faece7e 100644
--- a/src/local_deep_research/news/flask_api.py
+++ b/src/local_deep_research/news/flask_api.py
@@ -1272,8 +1272,8 @@ def add_search_history():
username = current_user()
if not username:
- # Not authenticated, silently ignore
- return jsonify({"status": "success"})
+ # Not authenticated
+ return jsonify({"error": "Authentication required"}), 401
data = request.get_json()
if not data or not data.get("query"):