~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
fix: normalize auth log messages and minor cleanups in library_routes (#2617)
LearningCircuit5b2d7215d9b3
diff --git a/src/local_deep_research/research_library/routes/library_routes.py b/src/local_deep_research/research_library/routes/library_routes.pyindex 0ebb054c33..f1af746646 100644--- a/src/local_deep_research/research_library/routes/library_routes.py+++ b/src/local_deep_research/research_library/routes/library_routes.py@@ -68,14 +68,14 @@ def handle_web_api_exception(error):def get_authenticated_user_password(- username: str, flask_session_id: str = None+ username: str, flask_session_id: str | None = None) -> str:"""Get authenticated user password from session store with fallback to g.user_password.Args:username: The username to get password for- flask_session_id: Optional Flask session ID. If not provided, uses session.get("_id")+ flask_session_id: Optional Flask session ID. If not provided, uses session.get("session_id")Returns:str: The user's password@@ -112,7 +112,6 @@ def get_authenticated_user_password(logger.error(f"No user password available for user {username}")raise AuthenticationRequiredError(message="Authentication required: Please refresh the page and log in again to access encrypted database features.",- username=username,)@@ -574,7 +573,9 @@ def download_all_text():username, flask_session_id)except AuthenticationRequiredError:- logger.warning(f"Authentication expired for user {username}")+ logger.warning(+ f"Authentication unavailable for user {username} - password not in session store"+ )yield f"data: {json.dumps({'progress': 0, 'current': 0, 'total': 0, 'error': 'Authentication required', 'complete': True})}\n\n"return@@ -718,7 +719,9 @@ def download_bulk():username, flask_session_id)except AuthenticationRequiredError:- logger.warning(f"Authentication failed for user {username}")+ logger.warning(+ f"Authentication unavailable for user {username} - password not in session store"+ )yield f"data: {json.dumps({'progress': 0, 'current': 0, 'total': 0, 'error': 'Authentication required', 'complete': True})}\n\n"return