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: pass db_session instead of username to get_settings_manager in view_pdf_page

LearningCircuitffc90916db2c
diff --git a/src/local_deep_research/research_library/routes/library_routes.py b/src/local_deep_research/research_library/routes/library_routes.py
index 3b36b3b00a..969ba51d82 100644
--- a/src/local_deep_research/research_library/routes/library_routes.py
+++ b/src/local_deep_research/research_library/routes/library_routes.py
@@ -459,7 +459,7 @@ def view_pdf_page(document_id):
)
# Get settings for PDF storage manager
- settings = get_settings_manager(username)
+ settings = get_settings_manager(db_session)
storage_mode = settings.get_setting(
"research_library.pdf_storage_mode", "none"
)