~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: Add DISABLE_RATE_LIMITING to Unit Tests workflow (#1532)
LearningCircuitf6ba1e890084
diff --git a/.github/workflows/followup-research-tests.yml b/.github/workflows/followup-research-tests.ymlindex a24f85c760..e375096e9b 100644--- a/.github/workflows/followup-research-tests.yml+++ b/.github/workflows/followup-research-tests.yml@@ -71,6 +71,7 @@ jobs:run: |export CI=trueexport LDR_USE_FALLBACK_LLM=true+ export DISABLE_RATE_LIMITING=trueexport PYTHONPATH=$PWD/src:$PYTHONPATHpdm run python -m local_deep_research.web.app 2>&1 | tee server.log &echo $! > server.piddiff --git a/.github/workflows/library-tests.yml b/.github/workflows/library-tests.ymlindex 30f95217fd..b3866fefd6 100644--- a/.github/workflows/library-tests.yml+++ b/.github/workflows/library-tests.yml@@ -381,6 +381,7 @@ jobs:run: |export CI=trueexport LDR_USE_FALLBACK_LLM=true+ export DISABLE_RATE_LIMITING=trueexport LDR_DATA_DIR=$PWD/dataexport PYTHONPATH=$PWD/src:$PYTHONPATHecho "Starting web server with LDR_DATA_DIR=$LDR_DATA_DIR"diff --git a/.github/workflows/metrics-analytics-tests.yml b/.github/workflows/metrics-analytics-tests.ymlindex d69c915c3b..e4a3215d04 100644--- a/.github/workflows/metrics-analytics-tests.yml+++ b/.github/workflows/metrics-analytics-tests.yml@@ -82,7 +82,7 @@ jobs:run: |export CI=trueexport LDR_USE_FALLBACK_LLM=true- export CI=true+ export DISABLE_RATE_LIMITING=trueexport PYTHONPATH=$PWD/src:$PYTHONPATHpdm run python -m local_deep_research.web.app &echo $! > server.piddiff --git a/.github/workflows/news-tests.yml b/.github/workflows/news-tests.ymlindex ffa292d760..cb0b3d2804 100644--- a/.github/workflows/news-tests.yml+++ b/.github/workflows/news-tests.yml@@ -77,6 +77,7 @@ jobs:run: |export CI=trueexport LDR_USE_FALLBACK_LLM=true+ export DISABLE_RATE_LIMITING=trueexport PYTHONPATH="$PWD"/src:$PYTHONPATHpdm run python -m local_deep_research.web.app &echo $! > server.piddiff --git a/.github/workflows/performance-tests.yml b/.github/workflows/performance-tests.ymlindex 64ba135d8d..151ba3557d 100644--- a/.github/workflows/performance-tests.yml+++ b/.github/workflows/performance-tests.yml@@ -110,6 +110,7 @@ jobs:- name: Start application serverenv:CI: true+ DISABLE_RATE_LIMITING: trueREDIS_URL: redis://localhost:6379FLASK_ENV: testingSECRET_KEY: perf-test-secret-keydiff --git a/.github/workflows/tests.yml b/.github/workflows/tests.ymlindex de16238625..109a1ec746 100644--- a/.github/workflows/tests.yml+++ b/.github/workflows/tests.yml@@ -54,8 +54,11 @@ jobs:run: |docker run --rm \-v "$PWD":/app \+ -e CI=true \+ -e GITHUB_ACTIONS=true \-e LDR_USE_FALLBACK_LLM=true \-e LDR_TESTING_WITH_MOCKS=true \+ -e DISABLE_RATE_LIMITING=true \-w /app \ldr-test \sh -c "python -m pytest -v \diff --git a/Dockerfile b/Dockerfileindex ffa152e2fb..7493c5a052 100644--- a/Dockerfile+++ b/Dockerfile@@ -7,8 +7,9 @@ FROM python:3.13.9-slim@sha256:326df678c20c78d465db501563f3492d17c42a4afe33a1f2bSHELL ["/bin/bash", "-o", "pipefail", "-c"]# Install system dependencies for SQLCipher and Node.js for frontend build-RUN apt-get update && apt-get upgrade -y \- && apt-get install -y --no-install-recommends \+# Using Acquire::Retries to handle transient Debian mirror errors during CI+RUN apt-get update -o Acquire::Retries=3 && apt-get upgrade -y -o Acquire::Retries=3 \+ && apt-get install -y --no-install-recommends -o Acquire::Retries=3 \libsqlcipher-dev \sqlcipher \libsqlcipher1 \@@ -84,8 +85,9 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]# Install additional runtime dependencies for testing tools# Note: Node.js is already installed from builder-base-RUN apt-get update && apt-get upgrade -y \- && apt-get install -y --no-install-recommends \+# Using Acquire::Retries to handle transient Debian mirror errors during CI+RUN apt-get update -o Acquire::Retries=3 && apt-get upgrade -y -o Acquire::Retries=3 \+ && apt-get install -y --no-install-recommends -o Acquire::Retries=3 \xauth \xvfb \# Dependencies for Chromiumdiff --git a/src/local_deep_research/web/templates/pages/benchmark.html b/src/local_deep_research/web/templates/pages/benchmark.htmlindex ced39858f9..4a35b3f37e 100644--- a/src/local_deep_research/web/templates/pages/benchmark.html+++ b/src/local_deep_research/web/templates/pages/benchmark.html@@ -2903,7 +2903,6 @@ function saveEvaluationSetting(key, value) {{% block page_scripts %}<!-- Load required services for progress tracking --><script src="/static/js/services/audio.js"></script>-<script src="/static/js/services/ui.js"></script><script src="/static/js/services/formatting.js"></script><script src="/static/js/services/api.js"></script><script src="/static/js/services/socket.js"></script>diff --git a/src/local_deep_research/web/templates/pages/history.html b/src/local_deep_research/web/templates/pages/history.htmlindex ed151ff45e..75d5ae62aa 100644--- a/src/local_deep_research/web/templates/pages/history.html+++ b/src/local_deep_research/web/templates/pages/history.html@@ -43,7 +43,6 @@{% block page_scripts %}<!-- Load utilities first -->-<script src="/static/js/services/ui.js"></script><script src="/static/js/services/formatting.js"></script><script src="/static/js/services/api.js"></script><!-- Load URL utilities -->diff --git a/src/local_deep_research/web/templates/pages/news.html b/src/local_deep_research/web/templates/pages/news.htmlindex a54eb55241..31453d41b5 100644--- a/src/local_deep_research/web/templates/pages/news.html+++ b/src/local_deep_research/web/templates/pages/news.html@@ -347,10 +347,6 @@</div></div>-<!-- Add marked.js for markdown rendering -->-<!-- Add UI services for markdown rendering -->-<script src="/static/js/services/ui.js"></script>-<!-- Add custom dropdown component --><script src="/static/js/components/custom_dropdown.js"></script>diff --git a/src/local_deep_research/web/templates/pages/news_cleaned.html b/src/local_deep_research/web/templates/pages/news_cleaned.htmlindex 7010b233c6..76d54c78f1 100644--- a/src/local_deep_research/web/templates/pages/news_cleaned.html+++ b/src/local_deep_research/web/templates/pages/news_cleaned.html@@ -149,10 +149,6 @@</div></div>-<!-- Add marked.js for markdown rendering -->-<!-- Add UI services for markdown rendering -->-<script src="/static/js/services/ui.js"></script>-<!-- Add news page JavaScript --><script src="/static/js/pages/news.js"></script>diff --git a/src/local_deep_research/web/templates/pages/progress.html b/src/local_deep_research/web/templates/pages/progress.htmlindex ea971e4b1c..0c5cd41861 100644--- a/src/local_deep_research/web/templates/pages/progress.html+++ b/src/local_deep_research/web/templates/pages/progress.html@@ -47,7 +47,6 @@{% block page_scripts %}<!-- Load required services --><script src="/static/js/services/audio.js"></script>-<script src="/static/js/services/ui.js"></script><script src="/static/js/services/formatting.js"></script><script src="/static/js/services/api.js"></script><script src="/static/js/services/socket.js"></script>diff --git a/src/local_deep_research/web/templates/pages/results.html b/src/local_deep_research/web/templates/pages/results.htmlindex cebfdef535..c948c804e2 100644--- a/src/local_deep_research/web/templates/pages/results.html+++ b/src/local_deep_research/web/templates/pages/results.html@@ -109,7 +109,6 @@<script src="/static/js/components/fallback/formatting.js"></script><!-- Main services -->-<script src="/static/js/services/ui.js"></script><script src="/static/js/services/formatting.js"></script><script src="/static/js/services/api.js"></script><script src="/static/js/services/pdf.js?v={{ range(1000, 9999) | random }}"></script>