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. 119: Information exposure through an exception

Daniel Pettid8837485d8f3
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 dced1257a1..c87fde2b21 100644
--- a/src/local_deep_research/benchmarks/web_api/benchmark_routes.py
+++ b/src/local_deep_research/benchmarks/web_api/benchmark_routes.py
@@ -768,9 +768,9 @@ def get_search_quality():
}
)
- except Exception as e:
+ except Exception:
logger.exception("Error getting search quality")
- return jsonify({"success": False, "error": str(e)}), 500
+ return jsonify({"success": False, "error": "An internal error has occurred."}), 500
@benchmark_bp.route("/api/delete/<int:benchmark_run_id>", methods=["DELETE"])