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.

refactor: simplify is_llamacpp_available check

LearningCircuit00403a89e269
diff --git a/src/local_deep_research/config/llm_config.py b/src/local_deep_research/config/llm_config.py
index 8df498fa95..9017f0e3cf 100644
--- a/src/local_deep_research/config/llm_config.py
+++ b/src/local_deep_research/config/llm_config.py
@@ -180,8 +180,8 @@ def is_lmstudio_available(settings_snapshot=None):
def is_llamacpp_available(settings_snapshot=None):
"""Check if LlamaCpp is available and properly configured.
- This checks both HTTP mode (server URL configured) and local mode
- (model path configured and looks like a file).
+ Checks that the library is installed and a model path is configured.
+ For llama.cpp server connections, use 'openai_endpoint' provider instead.
"""
try:
# Import check
@@ -199,16 +199,7 @@ def is_llamacpp_available(settings_snapshot=None):
if not model_path_str:
return False
- # Check if it looks like a file path (has an extension)
- # This helps avoid accepting directories as valid
- from pathlib import Path
-
- path = Path(model_path_str)
- # Has extension = likely a file path
- if path.suffix:
- return True
- # No extension but not a known directory pattern
- # Could still be valid, let the actual validation handle it
+ # Path is configured, actual validation happens when model loads
return True
except ImportError: