~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
test: use explicit type assertion for text() wrapper in session health check test (#2358)
LearningCircuita370ad086c06
diff --git a/tests/database/test_thread_local_session.py b/tests/database/test_thread_local_session.pyindex fe30aab5eb..c7e81217d4 100644--- a/tests/database/test_thread_local_session.py+++ b/tests/database/test_thread_local_session.py@@ -79,9 +79,12 @@ class TestThreadLocalSessionManager:# Should return the existing sessionassert result is mock_existing_session- # text() objects aren't equal by default, so check the string representation+ # Verify text() wrapper type and content explicitly+ from sqlalchemy.sql.elements import TextClause+call_args = mock_existing_session.execute.call_args[0][0]- assert str(call_args) == "SELECT 1"+ assert isinstance(call_args, TextClause)+ assert call_args.text == "SELECT 1"def test_get_session_creates_new_when_existing_invalid(self):"""Test that get_session creates new session when existing is invalid."""