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.

fixed config to available parameters

LearningCircuitdaaf7f04bbc3
diff --git a/config.py b/config.py
index a4f4ccb0c2..4ce0a0aee0 100644
--- a/config.py
+++ b/config.py
@@ -19,32 +19,11 @@ SEARCH_REGION = "us-en"
TIME_PERIOD = "y"
SAFE_SEARCH = True
-# Research Parameters
-MAX_ITERATIONS = 4
-CONTEXT_LIMIT = 5000
-MIN_CONFIDENCE_SCORE = 0.7
-ENABLE_CITATIONS = True
-SAVE_INTERIM_RESULTS = True
+
# Output Configuration
OUTPUT_DIR = "research_outputs"
-CACHE_DIR = ".cache"
-MAX_CACHE_AGE = 24 * 60 * 60 # 24 hours
-ENABLE_PDF = True # PDF generation disabled by default
-ENABLE_DEBUG_LOGS = False # Debug logging disabled by default
-# PDF Configuration (only used if ENABLE_PDF is True)
-PDF_STYLING = {
- 'page_size': 'A4',
- 'margin_left': 25,
- 'margin_right': 25,
- 'margin_top': 20,
- 'margin_bottom': 20,
- 'font_size': 11,
- 'title_font_size': 24,
- 'heading_font_size': 16,
- 'subheading_font_size': 14
-}
def get_llm(model_name=DEFAULT_MODEL, temperature=DEFAULT_TEMPERATURE):
"""Get LLM instance - easy to switch between models"""
diff --git a/search_system.py b/search_system.py
index f773b1ebf9..77697fe56c 100644
--- a/search_system.py
+++ b/search_system.py
@@ -4,10 +4,10 @@ from typing import Dict, List
from datetime import datetime
from utilities import remove_think_tags, format_findings_to_text
import os
-from config import get_llm
+from config import get_llm, get_search
class AdvancedSearchSystem:
def __init__(self):
- self.search = DuckDuckGoSearchResults(max_results=40)
+ self.search = get_search
self.model = get_llm()
self.max_iterations = 2
self.context_limit = 5000