~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
style: Fix trailing comma formatting for pre-commit hooks
LearningCircuit471033f7c774
diff --git a/tests/api_tests_with_login/pytest_tests/test_start_research.py b/tests/api_tests_with_login/pytest_tests/test_start_research.pyindex 01cb89217d..5421d65997 100644--- a/tests/api_tests_with_login/pytest_tests/test_start_research.py+++ b/tests/api_tests_with_login/pytest_tests/test_start_research.py@@ -9,7 +9,7 @@ import time# Skip entire module in CIpytestmark = pytest.mark.skipif(os.environ.get("CI") or os.environ.get("GITHUB_ACTIONS"),- reason="API integration tests require running server - skipped in CI"+ reason="API integration tests require running server - skipped in CI",)diff --git a/tests/api_tests_with_login/test_research_api_pytest.py b/tests/api_tests_with_login/test_research_api_pytest.pyindex ac1230678f..f7d34e38e1 100644--- a/tests/api_tests_with_login/test_research_api_pytest.py+++ b/tests/api_tests_with_login/test_research_api_pytest.py@@ -96,7 +96,7 @@ def auth_session():@pytest.mark.skipif(os_module.environ.get("CI") or os_module.environ.get("GITHUB_ACTIONS"),- reason="API integration tests require running server - skipped in CI"+ reason="API integration tests require running server - skipped in CI",)class TestResearchAPI:"""Test suite for research API endpoints"""diff --git a/tests/auth_tests/test_auth_integration.py b/tests/auth_tests/test_auth_integration.pyindex fd4616662c..b23a6cc327 100644--- a/tests/auth_tests/test_auth_integration.py+++ b/tests/auth_tests/test_auth_integration.py@@ -263,7 +263,7 @@ class TestAuthIntegration:@pytest.mark.skipif(os.environ.get("CI") or os.environ.get("GITHUB_ACTIONS"),- reason="Password change with encrypted DB re-keying is complex to test in CI"+ reason="Password change with encrypted DB re-keying is complex to test in CI",)def test_password_change_flow(self, client):"""Test the complete password change flow."""diff --git a/tests/auth_tests/test_auth_routes.py b/tests/auth_tests/test_auth_routes.pyindex 9924de523a..9273953d6d 100644--- a/tests/auth_tests/test_auth_routes.py+++ b/tests/auth_tests/test_auth_routes.py@@ -254,7 +254,7 @@ class TestAuthRoutes:@pytest.mark.skipif(os.environ.get("CI") or os.environ.get("GITHUB_ACTIONS"),- reason="Password change with encrypted DB re-keying is complex to test in CI"+ reason="Password change with encrypted DB re-keying is complex to test in CI",)def test_change_password(self, client):"""Test password change functionality."""diff --git a/tests/auth_tests/test_encrypted_db.py b/tests/auth_tests/test_encrypted_db.pyindex 2b1047ecf6..c2eddc28e0 100644--- a/tests/auth_tests/test_encrypted_db.py+++ b/tests/auth_tests/test_encrypted_db.py@@ -157,7 +157,7 @@ class TestDatabaseManager:@pytest.mark.skipif(os.environ.get("CI") or os.environ.get("GITHUB_ACTIONS"),- reason="Password change with encrypted DB re-keying is complex to test in CI"+ reason="Password change with encrypted DB re-keying is complex to test in CI",)def test_change_password(self, db_manager, auth_user):"""Test changing database encryption password."""@@ -180,7 +180,7 @@ class TestDatabaseManager:@pytest.mark.skipif(os.environ.get("CI") or os.environ.get("GITHUB_ACTIONS"),- reason="Password change with encrypted DB re-keying is complex to test in CI"+ reason="Password change with encrypted DB re-keying is complex to test in CI",)def test_change_password_wrong_old(self, db_manager, auth_user):"""Test changing password with wrong old password."""diff --git a/tests/langchain_integration/test_combined_llm_retriever.py b/tests/langchain_integration/test_combined_llm_retriever.pyindex 84ae450477..6ebee05761 100644--- a/tests/langchain_integration/test_combined_llm_retriever.py+++ b/tests/langchain_integration/test_combined_llm_retriever.py@@ -172,7 +172,7 @@ class CompanyCustomLLM(LLM):@pytest.mark.skipif(os.environ.get("CI") or os.environ.get("GITHUB_ACTIONS"),- reason="Langchain integration tests skipped in CI - testing advanced features"+ reason="Langchain integration tests skipped in CI - testing advanced features",)class TestCombinedLLMRetriever:"""Test suite for combined custom LLM and retriever usage."""diff --git a/tests/langchain_integration/test_custom_langchain_llm.py b/tests/langchain_integration/test_custom_langchain_llm.pyindex ecbe5f53bf..6e04fadd60 100644--- a/tests/langchain_integration/test_custom_langchain_llm.py+++ b/tests/langchain_integration/test_custom_langchain_llm.py@@ -54,7 +54,7 @@ class CustomTestLLM(LLM):@pytest.mark.skipif(os.environ.get("CI") or os.environ.get("GITHUB_ACTIONS"),- reason="Langchain integration tests skipped in CI - testing advanced features"+ reason="Langchain integration tests skipped in CI - testing advanced features",)class TestCustomLangChainLLM:"""Test suite for custom LangChain LLM integration."""diff --git a/tests/langchain_integration/test_custom_langchain_retriever.py b/tests/langchain_integration/test_custom_langchain_retriever.pyindex 15323e5d38..294d35bdf1 100644--- a/tests/langchain_integration/test_custom_langchain_retriever.py+++ b/tests/langchain_integration/test_custom_langchain_retriever.py@@ -96,7 +96,7 @@ class CustomTestRetriever(BaseRetriever):@pytest.mark.skipif(os.environ.get("CI") or os.environ.get("GITHUB_ACTIONS"),- reason="Langchain integration tests skipped in CI - testing advanced features"+ reason="Langchain integration tests skipped in CI - testing advanced features",)class TestCustomLangChainRetriever:"""Test suite for custom LangChain retriever integration."""diff --git a/tests/test_openai_api_key_e2e.py b/tests/test_openai_api_key_e2e.pyindex c0a1d7028a..9237f9bcac 100755--- a/tests/test_openai_api_key_e2e.py+++ b/tests/test_openai_api_key_e2e.py@@ -26,7 +26,9 @@ from typing import Optionalimport pytest# Skip this entire module in pytest-pytestmark = pytest.mark.skip(reason="End-to-end test script, not a pytest test")+pytestmark = pytest.mark.skip(+ reason="End-to-end test script, not a pytest test"+)# Add project root to pathsys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))diff --git a/tests/test_openai_api_key_usage.py b/tests/test_openai_api_key_usage.pyindex 6b71a9c2f1..69eaa4ef14 100644--- a/tests/test_openai_api_key_usage.py+++ b/tests/test_openai_api_key_usage.py@@ -74,7 +74,7 @@ class TestOpenAIAPIKeyUsage:@pytest.mark.skipif(os.environ.get("CI") or os.environ.get("GITHUB_ACTIONS"),- reason="Skipped in CI - requires environment variable configuration"+ reason="Skipped in CI - requires environment variable configuration",)def test_openai_api_key_from_environment(self, openai_settings_snapshot):"""Test fallback to environment variable if API key not in settings."""