~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(tests): update tests stale after #3091 (CORS) and #4057 (TinyFish) (#4815)
LearningCircuit2fc8457c462d
diff --git a/tests/settings/golden_master_settings.json b/tests/settings/golden_master_settings.jsonindex 51282c0b49..e3708232b3 100644--- a/tests/settings/golden_master_settings.json+++ b/tests/settings/golden_master_settings.json@@ -6911,6 +6911,215 @@],"visible": true},+ "search.engine.web.tinyfish.api_key": {+ "category": "tinyfish",+ "description": "The TinyFish API key to use. Can also be supplied with LDR_SEARCH_ENGINE_WEB_TINYFISH_API_KEY.",+ "editable": true,+ "max_value": null,+ "min_value": null,+ "name": "Api Key",+ "options": null,+ "step": null,+ "type": "SEARCH",+ "ui_element": "password",+ "value": "",+ "visible": true+ },+ "search.engine.web.tinyfish.default_params.fetch_format": {+ "category": "tinyfish",+ "description": "Output format for fetched page content.",+ "editable": true,+ "max_value": null,+ "min_value": null,+ "name": "Fetch Format",+ "options": [+ "markdown",+ "html",+ "json"+ ],+ "step": null,+ "type": "SEARCH",+ "ui_element": "select",+ "value": "markdown",+ "visible": true+ },+ "search.engine.web.tinyfish.default_params.include_full_content": {+ "category": "tinyfish",+ "description": "Fetch browser-rendered page content for search results.",+ "editable": true,+ "max_value": null,+ "min_value": null,+ "name": "Include Full Content",+ "options": null,+ "step": null,+ "type": "SEARCH",+ "ui_element": "checkbox",+ "value": true,+ "visible": true+ },+ "search.engine.web.tinyfish.default_params.language": {+ "category": "tinyfish",+ "description": "Language code for search results.",+ "editable": true,+ "max_value": null,+ "min_value": null,+ "name": "Language",+ "options": null,+ "step": null,+ "type": "SEARCH",+ "ui_element": "text",+ "value": "en",+ "visible": true+ },+ "search.engine.web.tinyfish.default_params.location": {+ "category": "tinyfish",+ "description": "Country code for geo-targeted results.",+ "editable": true,+ "max_value": null,+ "min_value": null,+ "name": "Location",+ "options": null,+ "step": null,+ "type": "SEARCH",+ "ui_element": "text",+ "value": "US",+ "visible": true+ },+ "search.engine.web.tinyfish.description": {+ "category": "tinyfish",+ "description": "Human-readable description of the search engine.",+ "editable": false,+ "max_value": null,+ "min_value": null,+ "name": "Description",+ "options": null,+ "step": null,+ "type": "SEARCH",+ "ui_element": "text",+ "value": "Fast hosted web search with optional browser-rendered content extraction.",+ "visible": false+ },+ "search.engine.web.tinyfish.display_name": {+ "category": "tinyfish",+ "description": "Display name to use in the U.I. for this search engine.",+ "editable": false,+ "max_value": null,+ "min_value": null,+ "name": "Display Name",+ "options": null,+ "step": null,+ "type": "SEARCH",+ "ui_element": "text",+ "value": "TinyFish",+ "visible": false+ },+ "search.engine.web.tinyfish.reliability": {+ "category": "tinyfish",+ "description": "Reliability score (0-1) for TinyFish search.",+ "editable": true,+ "max_value": 1.0,+ "min_value": 0.0,+ "name": "Reliability",+ "options": null,+ "step": 0.05,+ "type": "SEARCH",+ "ui_element": "range",+ "value": 0.85,+ "visible": true+ },+ "search.engine.web.tinyfish.requires_api_key": {+ "category": "tinyfish",+ "description": "Whether this search engine requires an API key.",+ "editable": false,+ "max_value": null,+ "min_value": null,+ "name": "Requires Api Key",+ "options": null,+ "step": null,+ "type": "SEARCH",+ "ui_element": "checkbox",+ "value": true,+ "visible": false+ },+ "search.engine.web.tinyfish.requires_llm": {+ "category": "tinyfish",+ "description": "Whether this search engine requires an LLM.",+ "editable": false,+ "max_value": null,+ "min_value": null,+ "name": "Requires Llm",+ "options": null,+ "step": null,+ "type": "SEARCH",+ "ui_element": "checkbox",+ "value": false,+ "visible": false+ },+ "search.engine.web.tinyfish.strengths": {+ "category": "tinyfish",+ "description": "Strengths of this search engine.",+ "editable": true,+ "max_value": null,+ "min_value": null,+ "name": "Strengths",+ "options": null,+ "step": null,+ "type": "SEARCH",+ "ui_element": "json",+ "value": [+ "fast structured web search",+ "browser-rendered content extraction",+ "clean markdown output for LLM consumption",+ "batch fetches multiple URLs"+ ],+ "visible": true+ },+ "search.engine.web.tinyfish.supports_full_search": {+ "category": "tinyfish",+ "description": "Whether this search engine can return extracted page content.",+ "editable": false,+ "max_value": null,+ "min_value": null,+ "name": "Supports Full Search",+ "options": null,+ "step": null,+ "type": "SEARCH",+ "ui_element": "checkbox",+ "value": true,+ "visible": false+ },+ "search.engine.web.tinyfish.use_in_auto_search": {+ "category": "tinyfish",+ "description": "Include TinyFish in auto search mode",+ "editable": true,+ "max_value": null,+ "min_value": null,+ "name": "Include in Auto Search",+ "options": null,+ "step": null,+ "type": "SEARCH",+ "ui_element": "checkbox",+ "value": false,+ "visible": true+ },+ "search.engine.web.tinyfish.weaknesses": {+ "category": "tinyfish",+ "description": "Weaknesses of this search engine.",+ "editable": true,+ "max_value": null,+ "min_value": null,+ "name": "Weaknesses",+ "options": null,+ "step": null,+ "type": "SEARCH",+ "ui_element": "json",+ "value": [+ "requires hosted API key",+ "external network requests leave the local environment",+ "fetch latency depends on target page rendering"+ ],+ "visible": true+ },"search.engine.web.wayback.default_params.closest_only": {"category": "wayback","description": "When enabled, only return the snapshot closest to the target date instead of all available snapshots.",diff --git a/tests/web/services/test_socket_service_init.py b/tests/web/services/test_socket_service_init.pyindex c49e12da58..fb3bf09802 100644--- a/tests/web/services/test_socket_service_init.py+++ b/tests/web/services/test_socket_service_init.py@@ -71,16 +71,16 @@ class TestSocketIOServiceCorsConfig:@patch("local_deep_research.web.services.socket_service.SocketIO")@patch("local_deep_research.settings.env_registry.get_env_setting")- def test_default_cors_is_wildcard(+ def test_default_cors_is_same_origin(self, mock_env, mock_socketio, minimal_app):- """No env var set -> permissive default (*)."""+ """No env var set -> secure same-origin-only default (None), per #3091."""mock_env.return_value = NoneSocketIOService(app=minimal_app)mock_socketio.assert_called_once()call_kwargs = mock_socketio.call_args[1]- assert call_kwargs["cors_allowed_origins"] == "*"+ assert call_kwargs["cors_allowed_origins"] is None@patch("local_deep_research.web.services.socket_service.SocketIO")@patch("local_deep_research.settings.env_registry.get_env_setting")diff --git a/tests/web_services/test_socket_service.py b/tests/web_services/test_socket_service.pyindex a81f9d01c4..debfb06aa7 100644--- a/tests/web_services/test_socket_service.py+++ b/tests/web_services/test_socket_service.py@@ -85,7 +85,7 @@ class TestSocketIOServiceInit:mock_socketio.assert_called_once_with(mock_flask_app,- cors_allowed_origins="*",+ cors_allowed_origins=None,async_mode="threading",path="/socket.io",logger=False,