~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
initial commit of small and passing test_settings_manager.py
ScottVR432cb57175d7
diff --git a/tests/test_settings_manager.py b/tests/test_settings_manager.pynew file mode 100644index 0000000000..6895fd4249--- /dev/null+++ b/tests/test_settings_manager.py@@ -0,0 +1,19 @@+import os+import pytest+import sys+from pathlib import Path++# Add the src directory to the path before importing project modules+sys.path.append(str(Path(__file__).parent.parent))++from src.local_deep_research.web.services.settings_manager import check_env_setting++def test_check_env_setting_exists(monkeypatch):+ monkeypatch.setenv("LDR_APP_VERSION", "1.0.0")+ assert check_env_setting("app.version") == "1.0.0"++def test_check_env_setting_not_exists():+ # Ensure the environment variable is not set+ if "LDR_APP_VERSION" in os.environ:+ del os.environ["LDR_APP_VERSION"]+ assert check_env_setting("app.version") is None\ No newline at end of file