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.

minor improvements; set DDG as default, because it does not require an API key

LearningCircuit08eaba75f4e3
diff --git a/.env.template b/.env.template
index de2807baf8..0b920df6e8 100644
--- a/.env.template
+++ b/.env.template
@@ -2,4 +2,5 @@
ANTHROPIC_API_KEY=your-api-key-here
# Add other API keys as needed
# OPENAI_API_KEY=your-openai-key-here
-# GOOGLE_API_KEY=your-google-key-here
\ No newline at end of file
+# GOOGLE_API_KEY=your-google-key-here
+# SERP_API_KEY=your-api-key-here
\ No newline at end of file
diff --git a/config.py b/config.py
index fcf8cbc7a4..fe4731b703 100644
--- a/config.py
+++ b/config.py
@@ -24,7 +24,7 @@ LANGUAGE_CODE_MAPPING = {
}
# LLM Configuration
-DEFAULT_MODEL = "deepseek-r1:7b" # try to use the largest model that fits into your GPU memory
+DEFAULT_MODEL = "mistral" # try to use the largest model that fits into your GPU memory
DEFAULT_TEMPERATURE = 0.7
MAX_TOKENS = 15000
@@ -53,8 +53,8 @@ SEARCH_LANGUAGE = "English"
# Output Configuration
OUTPUT_DIR = "research_outputs"
-# Choose search tool: "serp" or "duckduckgo"
-search_tool = "serp" # Change this variable to switch between search tools
+# Choose search tool: "serp" or "duckduckgo" (serp requires API key)
+search_tool = "duckduckgo" # Change this variable to switch between search tools
def get_llm(model_name=DEFAULT_MODEL, temperature=DEFAULT_TEMPERATURE):
diff --git a/requirements.txt b/requirements.txt
index b632df916f..50661fbe7e 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -15,3 +15,5 @@ flask>=2.0.1
flask-cors>=3.0.10
flask-socketio>=5.1.1
sqlalchemy>=1.4.23
+# SerpAPI
+google-search-results
\ No newline at end of file