~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(rag): preserve deletion service DB binding (#7066)
LearningCircuit5b9ee515ee35
diff --git a/tests/research_library/routes/test_rag_routes_coverage_main_port.py b/tests/research_library/routes/test_rag_routes_coverage_main_port.pyindex a5325fde2b..6cf2fe03fa 100644--- a/tests/research_library/routes/test_rag_routes_coverage_main_port.py+++ b/tests/research_library/routes/test_rag_routes_coverage_main_port.py@@ -278,6 +278,16 @@ def _route_env(passing ``username=`` rather than mocked, so there is no ``db_manager``patch here."""+ # _update_collection_sync can first-import DocumentDeletionService while+ # this fixture is active. That module binds get_user_db_session at import+ # time, so importing it under the patch below permanently installs a+ # MagicMock and breaks later real-database tests in the same process.+ import importlib++ importlib.import_module(+ "local_deep_research.research_library.deletion.services.document_deletion"+ )+db_session = db_session if db_session is not None else _make_db_session()settings = _make_settings_mock(settings_overrides)tpl = templates if templates is not None else _RecordingTemplates()