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.

Potential fix for code scanning alert no. 114: Information exposure through an exception

Daniel Petti3b3a296ab9c5
diff --git a/src/local_deep_research/benchmarks/web_api/benchmark_routes.py b/src/local_deep_research/benchmarks/web_api/benchmark_routes.py
index c5d7892133..5323fece74 100644
--- a/src/local_deep_research/benchmarks/web_api/benchmark_routes.py
+++ b/src/local_deep_research/benchmarks/web_api/benchmark_routes.py
@@ -372,7 +372,7 @@ def get_benchmark_history():
except Exception as e:
logger.error(f"Error getting benchmark history: {e}")
- return jsonify({"success": False, "error": str(e)}), 500
+ return jsonify({"success": False, "error": "An internal error has occurred."}), 500
@benchmark_bp.route("/api/results/<int:benchmark_run_id>", methods=["GET"])
@@ -508,7 +508,7 @@ def get_benchmark_results(benchmark_run_id: int):
except Exception as e:
logger.error(f"Error getting benchmark results: {e}")
- return jsonify({"success": False, "error": str(e)}), 500
+ return jsonify({"success": False, "error": "An internal error has occurred."}), 500
@benchmark_bp.route("/api/configs", methods=["GET"])