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.

test: delete two no-assert placeholder tests in test_llm_config.py (#4250)

LearningCircuitdc96bb611256
diff --git a/tests/config/test_llm_config.py b/tests/config/test_llm_config.py
index b985e8d36f..e01519d16d 100644
--- a/tests/config/test_llm_config.py
+++ b/tests/config/test_llm_config.py
@@ -429,47 +429,6 @@ class TestGetLlm:
result = get_llm(provider="custom_provider")
assert result is mock_llm
- def test_cleans_model_name(self):
- """Should clean model name of quotes and whitespace."""
- with patch(
- "local_deep_research.config.llm_config.is_llm_registered",
- return_value=False,
- ):
- with patch(
- "local_deep_research.config.llm_config.get_setting_from_snapshot"
- ) as mock_get:
- mock_get.side_effect = lambda key, default=None, **kwargs: {
- "llm.model": ' "gpt-4" ',
- "llm.temperature": 0.7,
- "llm.provider": "openai",
- }.get(key, default)
-
- # This will fail trying to create actual LLM, but we're testing name cleaning
- try:
- get_llm()
- except Exception:
- pass # Expected to fail without actual provider
-
- def test_normalizes_provider_to_lowercase(self):
- """Should normalize provider to lowercase."""
- with patch(
- "local_deep_research.config.llm_config.is_llm_registered",
- return_value=False,
- ):
- with patch(
- "local_deep_research.config.llm_config.get_setting_from_snapshot"
- ) as mock_get:
- mock_get.side_effect = lambda key, default=None, **kwargs: {
- "llm.model": "test-model",
- "llm.temperature": 0.7,
- "llm.provider": "OPENAI", # uppercase
- }.get(key, default)
-
- try:
- get_llm()
- except Exception:
- pass # Expected - testing normalization not actual LLM creation
-
def test_invalid_provider_raises_error(self):
"""Should raise ValueError for invalid provider."""
import pytest