~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: address Copilot code review feedback
LearningCircuit800e35ea801d
diff --git a/src/local_deep_research/research_library/services/download_service.py b/src/local_deep_research/research_library/services/download_service.pyindex 3979650685..c9fdc1bc04 100644--- a/src/local_deep_research/research_library/services/download_service.py+++ b/src/local_deep_research/research_library/services/download_service.py@@ -273,7 +273,7 @@ class DownloadService:return any(domain in url for domain in downloadable_domains)- def download_resource(self, resource_id: int) -> tuple[bool, str]:+ def download_resource(self, resource_id: int) -> Tuple[bool, Optional[str]]:"""Download a specific resource.@@ -356,12 +356,12 @@ class DownloadService:resource: ResearchResource,tracker: DownloadTracker,session: Session,- ) -> tuple[bool, str]:+ ) -> Tuple[bool, Optional[str]]:"""Perform the actual PDF download.Returns:- Tuple of (success: bool, skip_reason: str or None)+ Tuple of (success: bool, skip_reason: Optional[str])"""url = resource.urldiff --git a/src/local_deep_research/web/routes/settings_routes.py b/src/local_deep_research/web/routes/settings_routes.pyindex dbbac5c0e4..d066100885 100644--- a/src/local_deep_research/web/routes/settings_routes.py+++ b/src/local_deep_research/web/routes/settings_routes.py@@ -79,6 +79,9 @@ from ...llm.providers.implementations.custom_openai_endpoint import (# Create a Blueprint for settingssettings_bp = Blueprint("settings", __name__, url_prefix="/settings")+# Settings with dynamically populated options (excluded from validation)+DYNAMIC_SETTINGS = ["llm.provider", "llm.model", "search.tool"]+def _get_setting_from_session(key: str, default=None):"""Helper to get a setting using the current session context."""@@ -219,7 +222,7 @@ def validate_setting(# Check if value is in the allowed optionsif setting.options:# Skip options validation for dynamically populated dropdowns- if setting.key not in ["llm.provider", "llm.model", "search.tool"]:+ if setting.key not in DYNAMIC_SETTINGS:allowed_values = [opt.get("value") for opt in setting.options]if value not in allowed_values:return (diff --git a/src/local_deep_research/web/static/css/news.css b/src/local_deep_research/web/static/css/news.cssindex 7b65a93ba4..0789672780 100644--- a/src/local_deep_research/web/static/css/news.css+++ b/src/local_deep_research/web/static/css/news.css@@ -349,14 +349,6 @@background: var(--accent-secondary);}-.ldr-search-type-select {- width: auto;- min-width: 150px;- background: var(--bg-tertiary);- border: 1px solid var(--border-color);- color: var(--text-primary);-}-.ldr-feed-controls {display: flex;gap: 0.5rem;