~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
refactor: Remove obsolete DB migration functions from paths.py
LearningCircuit7c8864cb37f0
diff --git a/src/local_deep_research/config/paths.py b/src/local_deep_research/config/paths.pyindex 5b7550bd7e..21df70e6ef 100644--- a/src/local_deep_research/config/paths.py+++ b/src/local_deep_research/config/paths.py@@ -113,64 +113,6 @@ def get_database_path() -> Path:return db_path-def get_legacy_database_paths() -> list[Path]:- """- Get paths to legacy database locations for migration purposes.-- Returns:- List of potential legacy database paths that exist- """- paths = []-- # Legacy path 1: In package directory (pip install location)- # This is the problematic location we're moving away from- try:- current_file = Path(__file__)- package_root = current_file.parent.parent.parent-- # Check main data directory in package- package_data_db = package_root / "data" / "ldr.db"- if package_data_db.exists():- logger.info(- f"Found legacy database at package location: {package_data_db}"- )- paths.append(package_data_db)-- # Check for old research_history.db- old_history_db = package_root / "research_history.db"- if old_history_db.exists():- logger.info(f"Found legacy research_history.db: {old_history_db}")- paths.append(old_history_db)-- # Check for old deep_research.db- old_deep_db = package_root.parent / "data" / "deep_research.db"- if old_deep_db.exists():- logger.info(f"Found legacy deep_research.db: {old_deep_db}")- paths.append(old_deep_db)-- except Exception as e:- logger.warning(f"Error checking legacy paths: {e}")-- return paths---def should_migrate_database() -> bool:- """- Check if we should perform database migration from legacy location.-- Returns:- True if migration is needed, False otherwise- """- # If database already exists at new location, no migration needed- new_db_path = get_database_path()- if new_db_path.exists():- return False-- # Check if any legacy databases exist- legacy_paths = get_legacy_database_paths()- return len(legacy_paths) > 0--# Convenience functions for backward compatibilitydef get_data_dir() -> str:"""Get data directory as string for backward compatibility."""