~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
fix(ui-tests): stub fetch in logpanel prune-cap test for hermeticism (#5058)
LearningCircuit90175eed75a5
diff --git a/tests/js/components/logpanel.test.js b/tests/js/components/logpanel.test.jsindex 3a9f3c3424..136d531a66 100644--- a/tests/js/components/logpanel.test.js+++ b/tests/js/components/logpanel.test.js@@ -992,6 +992,19 @@ describe('per-category counters', () => {// fine.it('decrements the matching category count when the cap prunes an entry', { timeout: 20000 }, () => {vi.useFakeTimers();+ // Stub fetch so initialize()'s fire-and-forget loadLogs (kicked off+ // inside setupPanelDom) is hermetic. happy-dom ships a real native+ // fetch, so without a mock loadLogs connects to URLBuilder.researchLogs+ // and rejects on ECONNREFUSED; its catch arm then writes an error div+ // into the container. That only stays harmless because this body is+ // synchronous -- the rejection can't interleave with the assertions.+ // [] takes the empty-response no-op path; the 501 addLog calls are the+ // real subject. The block afterEach deletes the mock.+ globalThis.fetch = vi.fn(() =>+ Promise.resolve({+ json: () => Promise.resolve([]),+ })+ );setupPanelDom({ page: 'progress' });window._logPanelState.expanded = true;