~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
test: add SettingsManager API compatibility tests (#1908)
LearningCircuitce0416e150b1
diff --git a/tests/research_library/routes/test_rag_routes.py b/tests/research_library/routes/test_rag_routes.pyindex 100a7f24a4..1bfef32736 100644--- a/tests/research_library/routes/test_rag_routes.py+++ b/tests/research_library/routes/test_rag_routes.py@@ -2242,16 +2242,16 @@ class TestBackgroundThreadSettingsManagerUsage:mock_db_session = MagicMock()- # Patch where get_user_db_session is imported (inside the function)+ # Patch at the source module (get_user_db_session is imported inside function)with patch("local_deep_research.database.session_context.get_user_db_session") as mock_ctx:mock_ctx.return_value.__enter__ = Mock(return_value=mock_db_session)mock_ctx.return_value.__exit__ = Mock(return_value=False)- # Patch SettingsManager where it's imported inside the function+ # Patch SettingsManager where it's used in rag_routes modulewith patch(- "local_deep_research.web.services.settings_manager.SettingsManager",+ "local_deep_research.research_library.routes.rag_routes.SettingsManager",return_value=mock_settings,):trigger_auto_index(@@ -2284,7 +2284,7 @@ class TestBackgroundThreadSettingsManagerUsage:mock_ctx.return_value.__exit__ = Mock(return_value=False)with patch(- "local_deep_research.web.services.settings_manager.SettingsManager",+ "local_deep_research.research_library.routes.rag_routes.SettingsManager",return_value=mock_settings,):with patch(