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: Improve VLLM availability checks for CI environment

LearningCircuitb5305e1edd9a
diff --git a/src/local_deep_research/config/llm_config.py b/src/local_deep_research/config/llm_config.py
index 3e7b87f525..b2c0931ab6 100644
--- a/src/local_deep_research/config/llm_config.py
+++ b/src/local_deep_research/config/llm_config.py
@@ -128,6 +128,11 @@ def is_vllm_available():
try:
import torch # noqa: F401
import transformers # noqa: F401
+
+ # Only try to import VLLM if the dependencies are available
+ # The VLLM class itself might not fail to import, but using it will fail
+ # without the proper dependencies
+ import vllm # noqa: F401
from langchain_community.llms import VLLM # noqa: F401
return True
@@ -617,6 +622,9 @@ def get_llm(
elif provider == "vllm":
try:
+ import torch # noqa: F401
+ import transformers # noqa: F401
+ import vllm # noqa: F401
from langchain_community.llms import VLLM
llm = VLLM(