~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.
Python academiaanthropicarxivbravedeep-researchencryptionhome-automationhomeserverlocallocal-deep-researchlocal-llmmistralollamaopenaipubmedresearchresearch-toolretrieval-augmented-generationsearxngself-hosted
Update config.py
LearningCircuitdd68b7ddf6f1
diff --git a/config.py b/config.pyindex 72c35581e8..d883f6a753 100644--- a/config.py+++ b/config.py@@ -19,6 +19,7 @@ MAIN SETTINGS:- "deepseek-r1:14b": Alternative larger model- "claude-3-5-sonnet-latest": Claude model (requires API key)- "gpt-4o": OpenAI model (requires API key)+ - "mpt-7b": MPT model via VLLMRESEARCH SETTINGS:- SEARCH_ITERATIONS (int): Number of research cycles@@ -33,6 +34,7 @@ For full documentation, see the README.mdfrom langchain_anthropic import ChatAnthropicfrom langchain_openai import ChatOpenAIfrom langchain_ollama import ChatOllama+from langchain_community.llms import VLLM # Added VLLM importfrom dotenv import load_dotenvfrom web_search_engines.search_engine_factory import get_search as factory_get_search@@ -49,6 +51,12 @@ DEFAULT_MODEL = "mistral" # try to use the largest model that fits into your GPDEFAULT_TEMPERATURE = 0.7MAX_TOKENS = 15000+# VLLM Configuration+VLLM_MAX_NEW_TOKENS = 128+VLLM_TOP_K = 10+VLLM_TOP_P = 0.95+VLLM_TEMPERATURE = 0.8+# Search System SettingsSEARCH_ITERATIONS = 3QUESTIONS_PER_ITERATION = 3@@ -98,6 +106,17 @@ def get_llm(model_name=DEFAULT_MODEL, temperature=DEFAULT_TEMPERATURE):if not api_key:raise ValueError("OPENAI_API_KEY not found in environment variables")return ChatOpenAI(model=model_name, api_key=api_key, **common_params)++ elif model_name == "mpt-7b":+ # VLLM configuration for the MPT model+ return VLLM(+ model="mosaicml/mpt-7b",+ trust_remote_code=True, # mandatory for hf models+ max_new_tokens=VLLM_MAX_NEW_TOKENS,+ top_k=VLLM_TOP_K,+ top_p=VLLM_TOP_P,+ temperature=VLLM_TEMPERATURE,+ )else:return ChatOllama(model=model_name, base_url="http://localhost:11434", **common_params)