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 research blueprint to CSRF exemptions so /api/start_research works (#2325)

LearningCircuitcbdf76a969d8
diff --git a/src/local_deep_research/web/app_factory.py b/src/local_deep_research/web/app_factory.py
index 8d2e9e3234..eba615d8b5 100644
--- a/src/local_deep_research/web/app_factory.py
+++ b/src/local_deep_research/web/app_factory.py
@@ -717,7 +717,7 @@ def register_blueprints(app):
# silently fails to match Flask endpoint names.
if hasattr(app, "extensions") and "csrf" in app.extensions:
csrf = app.extensions["csrf"]
- for bp_name in ("api_v1", "api", "benchmark"):
+ for bp_name in ("api_v1", "api", "benchmark", "research"):
bp_obj = app.blueprints.get(bp_name)
if bp_obj is not None:
csrf.exempt(bp_obj)