~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.
Python academiaanthropicarxivbravedeep-researchencryptionhome-automationhomeserverlocallocal-deep-researchlocal-llmmistralollamaopenaipubmedresearchresearch-toolretrieval-augmented-generationsearxngself-hosted
fix: extract WARNING_AFFECTING_KEYS constant + add missing egress keys (#4450) (#4463)
LearningCircuit69b1a49418a6
diff --git a/src/local_deep_research/web/routes/settings_routes.py b/src/local_deep_research/web/routes/settings_routes.pyindex d4198bea02..0e4cd1faf3 100644--- a/src/local_deep_research/web/routes/settings_routes.py+++ b/src/local_deep_research/web/routes/settings_routes.py@@ -85,6 +85,22 @@ from ..utils.templates import render_template_with_defaultsfrom ...security import safe_getfrom ..warning_checks import calculate_warnings+# Settings whose changes trigger a warning recalculation.+WARNING_AFFECTING_KEYS = frozenset(+ [+ "llm.provider",+ "search.tool",+ "search.iterations",+ "search.questions_per_iteration",+ "llm.local_context_window_size",+ "llm.context_window_unrestricted",+ "llm.context_window_size",+ "policy.egress_scope",+ "llm.require_local_endpoint",+ "embeddings.require_local",+ ]+)+# Create a Blueprint for settingssettings_bp = Blueprint("settings", __name__, url_prefix="/settings")@@ -676,15 +692,7 @@ def save_all_settings(db_session=None, settings_manager=None):"settings": all_settings,}- warning_affecting_keys = [- "llm.provider",- "search.tool",- "search.iterations",- "search.questions_per_iteration",- "llm.local_context_window_size",- "llm.context_window_unrestricted",- "llm.context_window_size",- ]+ warning_affecting_keys = WARNING_AFFECTING_KEYS# Check if any warning-affecting settings were changedif any(@@ -1024,18 +1032,7 @@ def api_update_setting(key, db_session=None):}# If this is a key that affects warnings, include warning calculations- warning_affecting_keys = [- "llm.provider",- "search.tool",- "search.iterations",- "search.questions_per_iteration",- "llm.local_context_window_size",- "llm.context_window_unrestricted",- "llm.context_window_size",- "policy.egress_scope",- "llm.require_local_endpoint",- "embeddings.require_local",- ]+ warning_affecting_keys = WARNING_AFFECTING_KEYSif key in warning_affecting_keys:warnings = calculate_warnings()