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: Address SecurityCodeScan warnings about information exposure

LearningCircuitcec9e4f1308e
diff --git a/src/local_deep_research/followup_research/routes.py b/src/local_deep_research/followup_research/routes.py
index 763820273e..3966b0fbb2 100644
--- a/src/local_deep_research/followup_research/routes.py
+++ b/src/local_deep_research/followup_research/routes.py
@@ -102,9 +102,11 @@ def prepare_followup():
return jsonify(response)
- except Exception as e:
+ except Exception:
logger.exception("Error preparing follow-up")
- return jsonify({"success": False, "error": str(e)}), 500
+ return jsonify(
+ {"success": False, "error": "An internal error has occurred."}
+ ), 500
@followup_bp.route("/start", methods=["POST"])
@@ -307,6 +309,8 @@ def start_followup():
}
)
- except Exception as e:
+ except Exception:
logger.exception("Error starting follow-up")
- return jsonify({"success": False, "error": str(e)}), 500
+ return jsonify(
+ {"success": False, "error": "An internal error has occurred."}
+ ), 500