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.

fix: Ensure data directory exists before auth database initialization

LearningCircuit674e4560fdc3
diff --git a/src/local_deep_research/database/auth_db.py b/src/local_deep_research/database/auth_db.py
index 65b1db7fe5..0f0eb623ed 100644
--- a/src/local_deep_research/database/auth_db.py
+++ b/src/local_deep_research/database/auth_db.py
@@ -23,6 +23,9 @@ def init_auth_database():
"""Initialize the authentication database if it doesn't exist."""
auth_db_path = get_auth_db_path()
+ # Ensure the data directory exists
+ auth_db_path.parent.mkdir(parents=True, exist_ok=True)
+
# Check if database already exists
if auth_db_path.exists():
logger.debug(f"Auth database already exists at {auth_db_path}")