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 issue with fallback model.

Daniel Pettif69e0ec9ad6d
diff --git a/src/local_deep_research/config/llm_config.py b/src/local_deep_research/config/llm_config.py
index 8bab9363e0..a020ef5da9 100644
--- a/src/local_deep_research/config/llm_config.py
+++ b/src/local_deep_research/config/llm_config.py
@@ -3,6 +3,7 @@ import os
from langchain_anthropic import ChatAnthropic
from langchain_community.llms import VLLM
+from langchain_core.language_models import FakeListChatModel
from langchain_ollama import ChatOllama
from langchain_openai import ChatOpenAI
@@ -248,9 +249,7 @@ def get_llm(model_name=None, temperature=None, provider=None, openai_endpoint_ur
def get_fallback_model(temperature=None):
"""Create a dummy model for when no providers are available"""
- from langchain_community.llms.fake import FakeListLLM
-
- return FakeListLLM(
+ return FakeListChatModel(
responses=[
"No language models are available. Please install Ollama or set up API keys."
]