~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
refactor(tests): drop duplicate mock_llm fixtures (DRY) (#4695)
LearningCircuit78a55f2ffa58
diff --git a/tests/test_report_generator.py b/tests/test_report_generator.pyindex 4856b6576a..abfe20e930 100644--- a/tests/test_report_generator.py+++ b/tests/test_report_generator.py@@ -11,14 +11,6 @@ from local_deep_research.report_generator import ()-def mock_llm():- """Create a mock LLM for testing."""- mock = Mock()- mock.invoke.return_value = Mock(content="Mocked LLM response")- return mock--@pytest.fixturedef mock_search_system():"""Create a mock search system for testing."""diff --git a/tests/test_report_generator_edge_cases.py b/tests/test_report_generator_edge_cases.pyindex 0f445c6bf6..7a5c47aeb5 100644--- a/tests/test_report_generator_edge_cases.py+++ b/tests/test_report_generator_edge_cases.py@@ -7,14 +7,6 @@ import pytestfrom local_deep_research.report_generator import IntegratedReportGenerator-def mock_llm():- """Create a mock LLM."""- mock = Mock()- mock.invoke.return_value = Mock(content="Mocked response")- return mock--@pytest.fixturedef mock_search_system():"""Create a mock search system."""diff --git a/tests/test_search_system.py b/tests/test_search_system.pyindex 1a54cc4eae..9c40a6483a 100644--- a/tests/test_search_system.py+++ b/tests/test_search_system.py@@ -8,14 +8,6 @@ import pytestsys.path.append(str(Path(__file__).parent.parent))-def mock_llm():- """Create a mock LLM for testing."""- mock = Mock()- mock.invoke.return_value = Mock(content="Mocked LLM response")- return mock--@pytest.fixturedef mock_search():"""Create a mock search engine for testing."""