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: Add validation to reject empty model parameter

LearningCircuitc6a375717ab7
diff --git a/src/local_deep_research/web/routes/research_routes.py b/src/local_deep_research/web/routes/research_routes.py
index 62d51bf416..660dec054c 100644
--- a/src/local_deep_research/web/routes/research_routes.py
+++ b/src/local_deep_research/web/routes/research_routes.py
@@ -191,6 +191,10 @@ def start_research():
else:
logger.debug(f"Using model from request: {model}")
+ # Validate that model is not empty string
+ if model == "":
+ return jsonify({"error": "Model parameter cannot be empty"}), 400
+
custom_endpoint = data.get("custom_endpoint")
if not custom_endpoint and model_provider == "OPENAI_ENDPOINT":
custom_endpoint = settings_manager.get_setting(