~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
chore: use sentinel constants in tests and fix outdated docstring (#2650)
LearningCircuite6d21ce6baf3
diff --git a/tests/research_library/services/test_pdf_storage_manager_edge_cases.py b/tests/research_library/services/test_pdf_storage_manager_edge_cases.pyindex c289122193..229299a489 100644--- a/tests/research_library/services/test_pdf_storage_manager_edge_cases.py+++ b/tests/research_library/services/test_pdf_storage_manager_edge_cases.py@@ -84,14 +84,10 @@ class TestHasPdfSentinel:session.query.assert_not_called()def test_has_pdf_text_only_not_stored_is_sentinel(self):- """Documents that 'text_only_not_stored' is treated as a sentinel in has_pdf.+ """Verify 'text_only_not_stored' is treated as a sentinel in has_pdf.- The source code checks `file_path not in ('metadata_only', 'text_only_not_stored')`- to exclude sentinel values from filesystem lookup.-- Note: has_pdf currently has a bug — it references DocumentBlob.id but- the model uses document_id as primary key. This test verifies the- sentinel is listed in the exclusion check.+ The source code checks against FILE_PATH_SENTINELS to exclude sentinel+ values from filesystem lookup."""from local_deep_research.research_library.services.pdf_storage_manager import (PDFStorageManager,diff --git a/tests/research_library/test_utils.py b/tests/research_library/test_utils.pyindex fb2d2768fe..6227066bf9 100644--- a/tests/research_library/test_utils.py+++ b/tests/research_library/test_utils.py@@ -354,7 +354,7 @@ class TestPDFStorageManagerSafeFilePath:storage_mode="filesystem",)- result = manager._get_safe_file_path("metadata_only")+ result = manager._get_safe_file_path(FILE_PATH_METADATA_ONLY)assert result is None@@ -369,7 +369,7 @@ class TestPDFStorageManagerSafeFilePath:storage_mode="filesystem",)- result = manager._get_safe_file_path("text_only_not_stored")+ result = manager._get_safe_file_path(FILE_PATH_TEXT_ONLY)assert result is None