~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
removed unnecessary files
LearningCircuitb3300b7e0843
diff --git a/src/local_deep_research/__init__.py b/src/local_deep_research/__init__.pyindex 9ce5fb0d01..755a3e4394 100644--- a/src/local_deep_research/__init__.py+++ b/src/local_deep_research/__init__.py@@ -10,19 +10,15 @@ __version__ = "0.1.0"# Initialize configuration on module importfrom .utilties.setup_utils import setup_user_directories-# Import main componentsfrom .search_system import AdvancedSearchSystemfrom .report_generator import IntegratedReportGenerator-from .model_loader import get_model, get_llm-+from .config import get_llm, get_search# Export it__all__ = ["AdvancedSearchSystem","IntegratedReportGenerator",- "get_model","get_llm",- "get_config","get_search"]\ No newline at end of filediff --git a/src/local_deep_research/model_loader.py b/src/local_deep_research/model_loader.pydeleted file mode 100644index ffdb4f9172..0000000000--- a/src/local_deep_research/model_loader.py+++ /dev/null@@ -1,67 +0,0 @@-# model_loader.py-"""-Model loader for Local Deep Research.--This module provides backward compatibility with the existing code-while leveraging the new configuration system.-"""--import logging-from typing import Any, Optional--logger = logging.getLogger(__name__)--def get_model(model_name: Optional[str] = None, model_type: Optional[str] = None, **kwargs) -> Any:- """- Load a language model based on name, type and parameters.-- Args:- model_name: Name of the model to use- model_type: Type of model provider to use- **kwargs: Additional parameters like temperature, max_tokens, etc.-- Returns:- A LangChain language model instance- """- from .config_manager import get_llm- return get_llm(model_name=model_name, model_type=model_type, **kwargs)--def get_llm(model_name=None, temperature=None, **kwargs):- """- Legacy function for backward compatibility.-- This maintains compatibility with the old config.get_llm function- but uses the new configuration system.-- Args:- model_name: Name of the model to use- temperature: Model temperature- **kwargs: Additional parameters-- Returns:- A LangChain language model instance- """- from .config_manager import get_llm as config_get_llm, load_llm_config-- # Load configuration for defaults- llm_config = load_llm_config()-- # If model_type not explicitly provided, derive it from model name- # for backward compatibility with old behavior- if 'model_type' not in kwargs:- # Default model type based on configuration- model_type = llm_config.get('DEFAULT_MODEL_TYPE', 'ollama')-- # Override based on model name patterns (for backward compatibility)- if model_name and "claude" in model_name.lower():- model_type = "anthropic"- elif model_name and "gpt" in model_name.lower():- model_type = "openai"-- kwargs['model_type'] = model_type-- return config_get_llm(- model_name=model_name,- temperature=temperature,- **kwargs- )\ No newline at end of file