~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(unified-search): poll for the in-flight fetch instead of a double-microtask flush (#6894)
LearningCircuit72e4d74463da
diff --git a/tests/js/pages/unified-search.test.js b/tests/js/pages/unified-search.test.jsindex 14cd22074c..1dabb5a5cd 100644--- a/tests/js/pages/unified-search.test.js+++ b/tests/js/pages/unified-search.test.js@@ -179,8 +179,13 @@ describe('input invalidation', () => {dom.input.value = 'old query';const oldRun = hook.runUnifiedSearch();- await Promise.resolve();- await Promise.resolve();+ // Poll on the observable effect rather than flushing a+ // hard-coded number of microtask ticks: the old shape+ // (`await Promise.resolve(); await Promise.resolve();`)+ // encoded runKeywordMode's internal await depth, so one+ // benign extra await on the keyword path would flake this+ // suite (#5578).+ await vi.waitFor(() => expect(globalThis.safeFetch).toHaveBeenCalledOnce());const oldSignal = globalThis.safeFetch.mock.calls[0][1].signal;dom.input.value = 'new query';