~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: resolve CI failures from show_all_strategies feature merge (#3321)
LearningCircuit292fb1dd2ffc
diff --git a/src/local_deep_research/web/static/css/styles.css b/src/local_deep_research/web/static/css/styles.cssindex 7072b10808..2a3afae795 100644--- a/src/local_deep_research/web/static/css/styles.css+++ b/src/local_deep_research/web/static/css/styles.css@@ -170,11 +170,14 @@ a:hover {/* Sidebar */.ldr-sidebar {width: 240px;+ max-width: 240px;background-color: var(--bg-secondary);border-right: 1px solid var(--border-color);display: flex;flex-direction: column;position: fixed;+ top: 0;+ left: 0;height: 100vh;z-index: 10;}@@ -240,12 +243,11 @@ a:hover {display: flex;align-items: center;gap: 0.5rem;- padding: 0.5rem 1rem;- min-height: 24px;+ padding: 0.75rem 1rem;+ min-height: 28px;color: inherit;text-decoration: none;width: 100%;- height: 100%;}.ldr-sidebar-nav li i {@@ -1621,6 +1623,7 @@ textarea:focus, input[type="text"]:focus {@media (max-width: 991px) {.ldr-sidebar {width: 60px;+ max-width: 60px;overflow: hidden;}diff --git a/tests/news/test_web_blueprint.py b/tests/news/test_web_blueprint.pyindex 1f74d20043..f80eafe714 100644--- a/tests/news/test_web_blueprint.py+++ b/tests/news/test_web_blueprint.py@@ -301,7 +301,9 @@ class TestNewSubscriptionPageRoute:client.get("/news/subscriptions/new")- mock_db.assert_called_once_with("testuser")+ # get_user_db_session is called once for loading settings+ # and once more by _show_all_strategies()+ assert mock_db.call_count == 2def test_new_subscription_page_logged_in_user_calls_load_user_settings(self, app@@ -470,7 +472,9 @@ class TestEditSubscriptionPageRoute:):client.get("/news/subscriptions/sub-123/edit")- mock_db.assert_called_once_with("testuser")+ # get_user_db_session is called for loading settings+ # and by _show_all_strategies()+ assert mock_db.call_count == 2def test_edit_subscription_page_logs_subscription_id(self, client):"""Test that subscription ID is logged."""diff --git a/tests/news/test_web_routes_comprehensive.py b/tests/news/test_web_routes_comprehensive.pyindex 658b151a3a..1b5b4e8f22 100644--- a/tests/news/test_web_routes_comprehensive.py+++ b/tests/news/test_web_routes_comprehensive.py@@ -74,7 +74,7 @@ class TestNewsPageRoute:@patch("local_deep_research.news.web.render_template")def test_news_page_includes_expected_strategies(self, mock_render):- """Test news_page includes expected strategies."""+ """Test news_page includes expected default strategies."""from local_deep_research.news.web import create_news_blueprintfrom flask import Flask@@ -89,8 +89,9 @@ class TestNewsPageRoute:call_kwargs = mock_render.call_args[1]strategies = call_kwargs["strategies"]strategy_names = [s["name"] for s in strategies]- assert "topic-organization" in strategy_names+ # Anonymous user sees default strategies onlyassert "source-based" in strategy_names+ assert "focused-iteration" in strategy_namesclass TestSubscriptionsPageRoute:@@ -398,44 +399,24 @@ class TestStrategyList:"""Tests for strategy list in news page."""def test_strategies_include_topic_organization(self):- """Test strategies list includes topic-organization."""- from local_deep_research.news.web import create_news_blueprint- from flask import Flask-- with patch(- "local_deep_research.news.web.render_template"- ) as mock_render:- mock_render.return_value = "rendered"-- app = Flask(__name__)- bp = create_news_blueprint()- app.register_blueprint(bp, url_prefix="/news")+ """Test all strategies includes topic-organization when show_all=True."""+ from local_deep_research.search_system_factory import (+ get_available_strategies,+ )- with app.test_client() as client:- client.get("/news/")- call_kwargs = mock_render.call_args[1]- strategy_names = [s["name"] for s in call_kwargs["strategies"]]- assert "topic-organization" in strategy_names+ strategies = get_available_strategies(show_all=True)+ strategy_names = [s["name"] for s in strategies]+ assert "topic-organization" in strategy_namesdef test_strategies_include_iterative_refinement(self):- """Test strategies list includes iterative-refinement."""- from local_deep_research.news.web import create_news_blueprint- from flask import Flask-- with patch(- "local_deep_research.news.web.render_template"- ) as mock_render:- mock_render.return_value = "rendered"-- app = Flask(__name__)- bp = create_news_blueprint()- app.register_blueprint(bp, url_prefix="/news")-- with app.test_client() as client:- client.get("/news/")- call_kwargs = mock_render.call_args[1]- strategy_names = [s["name"] for s in call_kwargs["strategies"]]- assert "iterative-refinement" in strategy_names+ """Test all strategies includes iterative-refinement when show_all=True."""+ from local_deep_research.search_system_factory import (+ get_available_strategies,+ )++ strategies = get_available_strategies(show_all=True)+ strategy_names = [s["name"] for s in strategies]+ assert "iterative-refinement" in strategy_namesdef test_strategies_include_source_based(self):"""Test strategies list includes source-based."""diff --git a/tests/web/routes/test_metrics_routes.py b/tests/web/routes/test_metrics_routes.pyindex 2f995cb67a..396c973279 100644--- a/tests/web/routes/test_metrics_routes.py+++ b/tests/web/routes/test_metrics_routes.py@@ -686,7 +686,7 @@ class TestGetAvailableStrategies:get_available_strategies,)- strategies = get_available_strategies()+ strategies = get_available_strategies(show_all=True)strategy_names = [s["name"] for s in strategies]assert "source-based" in strategy_namesdiff --git a/tests/web/routes/test_metrics_routes_coverage.py b/tests/web/routes/test_metrics_routes_coverage.pyindex 35f7f82b7e..cb5e44de31 100644--- a/tests/web/routes/test_metrics_routes_coverage.py+++ b/tests/web/routes/test_metrics_routes_coverage.py@@ -228,21 +228,21 @@ class TestExtractDomain:class TestGetAvailableStrategies:def test_returns_list(self):- result = get_available_strategies()+ result = get_available_strategies(show_all=True)assert isinstance(result, list)assert len(result) >= 7def test_each_strategy_has_name_and_description(self):- for s in get_available_strategies():+ for s in get_available_strategies(show_all=True):assert "name" in sassert "description" in sdef test_source_based_strategy_present(self):- names = [s["name"] for s in get_available_strategies()]+ names = [s["name"] for s in get_available_strategies(show_all=True)]assert "source-based" in namesdef test_iterative_refinement_strategy_present(self):- names = [s["name"] for s in get_available_strategies()]+ names = [s["name"] for s in get_available_strategies(show_all=True)]assert "iterative-refinement" in names