~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(security): accept the branded 404 page in the chunks-page UUID fence test (#6864)
LearningCircuit079779b99353
diff --git a/tests/security/test_page_route_uuid_fences.py b/tests/security/test_page_route_uuid_fences.pyindex cb66c32a43..c4b4f0cd21 100644--- a/tests/security/test_page_route_uuid_fences.py+++ b/tests/security/test_page_route_uuid_fences.py@@ -81,16 +81,19 @@ def test_document_chunks_page_rejects_malformed_document_id(written -- Starlette dispatches by exact status code first, so``fastapi_app.py``'s ``@app.exception_handler(404)`` wins overFastAPI's default ``HTTPException`` handler and, for a browser- (non-API) request, answers ``HTMLResponse("Not found",- status_code=404)``. Asserting the exact body pins which branch- answered.+ (non-API) request, answers with the branded 404 page (#5424), or+ with ``HTMLResponse("Not found", status_code=404)`` if rendering+ that page fails. Asserting the body pins which branch answered."""response = authenticated_client.get(f"/library/document/{_HOSTILE_ID}/chunks")assert response.status_code == 404- assert response.text == "Not found", (+ assert "Document not found" not in response.text+ assert (+ "<title>Page not found" in response.text or response.text == "Not found"+ ), ("chunks page 404 did not come from the shape fence -- got body "f"{response.text[:100]!r}. The route's own missing-row branch "'answers 404 too, with a different body ("Document not found"), '