Skip to content

~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.

fix: remove dead vLLM tests and add new search engine snapshot divergences (#2962)

LearningCircuit3e04214408de
diff --git a/tests/config/test_llm_config_extra_coverage.py b/tests/config/test_llm_config_extra_coverage.py
index d4049ab1d0..8a98bb3e4b 100644
--- a/tests/config/test_llm_config_extra_coverage.py
+++ b/tests/config/test_llm_config_extra_coverage.py
@@ -2,7 +2,6 @@
Targets uncovered branches:
- is_*_available() Exception (non-ImportError) paths
-- is_vllm_available() success and import failure paths
- is_llamacpp_available() path configurations
- _get_context_window_for_provider() all branches
- get_available_providers() with various provider combinations
@@ -138,25 +137,6 @@ class TestProviderAvailabilityExceptionPaths:
assert is_openrouter_available() is False
-# ===========================================================================
-# is_vllm_available
-# ===========================================================================
-
-
-class TestIsVllmAvailable:
- def test_all_imports_missing(self):
- from local_deep_research.config.llm_config import is_vllm_available
-
- with patch.dict("sys.modules", {"torch": None}):
- assert is_vllm_available() is False
-
- def test_vllm_missing(self):
- from local_deep_research.config.llm_config import is_vllm_available
-
- with patch.dict("sys.modules", {"vllm": None}):
- assert is_vllm_available() is False
-
-
# ===========================================================================
# is_llamacpp_available
# ===========================================================================
@@ -327,7 +307,6 @@ class TestGetAvailableProviders:
patch(f"{MODULE}.is_openai_endpoint_available", return_value=False),
patch(f"{MODULE}.is_lmstudio_available", return_value=False),
patch(f"{MODULE}.is_llamacpp_available", return_value=False),
- patch(f"{MODULE}.is_vllm_available", return_value=False),
):
result = get_available_providers()
@@ -350,7 +329,6 @@ class TestGetAvailableProviders:
patch(f"{MODULE}.is_openai_endpoint_available", return_value=False),
patch(f"{MODULE}.is_lmstudio_available", return_value=False),
patch(f"{MODULE}.is_llamacpp_available", return_value=False),
- patch(f"{MODULE}.is_vllm_available", return_value=False),
):
result = get_available_providers()
@@ -375,11 +353,10 @@ class TestGetAvailableProviders:
patch(f"{MODULE}.is_openai_endpoint_available", return_value=True),
patch(f"{MODULE}.is_lmstudio_available", return_value=True),
patch(f"{MODULE}.is_llamacpp_available", return_value=True),
- patch(f"{MODULE}.is_vllm_available", return_value=True),
):
result = get_available_providers()
- assert len(result) == 9
+ assert len(result) == 8
get_available_providers.cache_clear()
diff --git a/tests/settings/test_settings_defaults_integrity.py b/tests/settings/test_settings_defaults_integrity.py
index 6e79d48e48..1c4d1279e3 100644
--- a/tests/settings/test_settings_defaults_integrity.py
+++ b/tests/settings/test_settings_defaults_integrity.py
@@ -80,9 +80,14 @@ KNOWN_NUMERIC_ISSUES = set()
KNOWN_SNAPSHOT_DIVERGENCES = {
# Engine parent keys: get_setting() expands to include all children,
# snapshot stores the raw dict value
+ "search.engine.web.gutenberg",
"search.engine.web.nasa_ads",
"search.engine.web.openalex",
+ "search.engine.web.openlibrary",
+ "search.engine.web.pubchem",
"search.engine.web.semantic_scholar",
+ "search.engine.web.stackexchange",
+ "search.engine.web.zenodo",
# List values stored as JSON strings in snapshot but parsed by get_setting()
"search.engine.web.parallel.strengths",
"search.engine.web.parallel.weaknesses",