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: Remove duplicate VLLM dependency checks

LearningCircuit4d72e7891c46
diff --git a/src/local_deep_research/config/llm_config.py b/src/local_deep_research/config/llm_config.py
index b2c0931ab6..1838326192 100644
--- a/src/local_deep_research/config/llm_config.py
+++ b/src/local_deep_research/config/llm_config.py
@@ -621,10 +621,13 @@ def get_llm(
)
elif provider == "vllm":
+ if not is_vllm_available():
+ logger.warning(
+ "VLLM dependencies are not available. Falling back to default model."
+ )
+ return get_fallback_model(temperature)
+
try:
- import torch # noqa: F401
- import transformers # noqa: F401
- import vllm # noqa: F401
from langchain_community.llms import VLLM
llm = VLLM(