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.

Ruff

tombiia125421cc629
diff --git a/src/local_deep_research/web/routes/settings_routes.py b/src/local_deep_research/web/routes/settings_routes.py
index 57c0e5cda7..786813a3d6 100644
--- a/src/local_deep_research/web/routes/settings_routes.py
+++ b/src/local_deep_research/web/routes/settings_routes.py
@@ -35,6 +35,7 @@ from ..server_config import sync_from_settings
# Create a Blueprint for settings
settings_bp = Blueprint("settings", __name__, url_prefix="/settings")
+
def _get_setting_from_session(key: str, default=None):
"""Helper to get a setting using the current session context."""
username = session.get("username")