~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
chore(ui-tests): de-rot ctrlEnterSubmit comment + use optional chaining (review follow-up) (#4656)
LearningCircuit6f157072f776
diff --git a/tests/ui_tests/test_keyboard_accessibility_ci.js b/tests/ui_tests/test_keyboard_accessibility_ci.jsindex 8074144d19..cb012db86f 100644--- a/tests/ui_tests/test_keyboard_accessibility_ci.js+++ b/tests/ui_tests/test_keyboard_accessibility_ci.js@@ -227,19 +227,19 @@ const KeyboardShortcutsTests = {async ctrlEnterSubmit(page, baseUrl) {// The Ctrl/Cmd+Enter "submit from anywhere" shortcut is a document-level- // handler (research.js:672 document keydown -> :684-688 submits on- // ctrlKey||metaKey + Enter -> handleResearchSubmit -> POST /api/start_research).- // The old test asserted the URL changed (navigation), which needs an LLM —- // start_research returns 400 "Model is required" in the no-LLM shard, so it- // could never pass and was left unregistered. Assert the shortcut fires the- // submit POST instead (made regardless of the 400, so deterministic).+ // keydown handler that calls handleResearchSubmit (which POSTs to+ // /api/start_research) on ctrlKey||metaKey + Enter. The old test asserted the+ // URL changed (navigation), which needs an LLM — start_research returns 400+ // "Model is required" in the no-LLM shard, so it could never pass and was left+ // unregistered. Assert the shortcut fires the submit POST instead (made+ // regardless of the 400, so deterministic).//// We type the query, then BLUR the textarea before pressing Ctrl+Enter. This- // isolates the modifier: the textarea also submits on PLAIN Enter- // (research.js:740-742), so pressing Ctrl+Enter while focused there would pass- // even if the Ctrl/Cmd-specific paths regressed. From <body>, only the- // document-level Ctrl/Cmd+Enter handler can fire the submit. waitForRequest is- // armed before the keypress to avoid a race.+ // isolates the modifier: the textarea's keydown handler also submits on PLAIN+ // Enter, so pressing Ctrl+Enter while focused there would pass even if the+ // Ctrl/Cmd-specific paths regressed. From <body>, only the document-level+ // Ctrl/Cmd+Enter handler can fire the submit. waitForRequest is armed before+ // the keypress to avoid a race.await navigateTo(page, `${baseUrl}/`);const textarea = await page.$('textarea[name="query"], textarea#query');@@ -248,7 +248,7 @@ const KeyboardShortcutsTests = {}await textarea.type('Test query for keyboard submission');// Move focus off the textarea so plain Enter can't submit — isolates Ctrl+Enter.- await page.evaluate(() => document.activeElement && document.activeElement.blur());+ await page.evaluate(() => document.activeElement?.blur());// A submit POST goes to /api/start_research (research mode) or// /api/chat/sessions (chat mode); either proves the shortcut submitted.