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(providers): guard that local providers stay auto-discovered (#4618)

LearningCircuit947e32a419c6
diff --git a/tests/config/test_llm_config.py b/tests/config/test_llm_config.py
index 9b6a5d9146..40c62d0ac8 100644
--- a/tests/config/test_llm_config.py
+++ b/tests/config/test_llm_config.py
@@ -467,8 +467,18 @@ class TestDiscoveredProviderOptions:
for opt in options:
assert "value" in opt and "label" in opt
values = {opt["value"].lower() for opt in options}
- # Core built-in providers must always be discovered.
- for provider in ("openai", "anthropic", "ollama"):
+ # Core built-in providers must always be discovered. The local
+ # providers (llamacpp, lmstudio) are included so they can't silently
+ # drop out of auto-discovery: the model-provider dropdown is derived
+ # from this set, and #4594 removed the hardcoded LLAMACPP fallback that
+ # would otherwise have masked such a regression.
+ for provider in (
+ "openai",
+ "anthropic",
+ "ollama",
+ "llamacpp",
+ "lmstudio",
+ ):
assert provider in values
def test_available_options_is_filtered_subset(self):