Skip to content

~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.

fix: Ensure LDR_DATA_DIR is passed correctly to server subprocess

LearningCircuita18539b927cf
diff --git a/.github/workflows/critical-ui-tests.yml b/.github/workflows/critical-ui-tests.yml
index 79911e1843..d2cc655117 100644
--- a/.github/workflows/critical-ui-tests.yml
+++ b/.github/workflows/critical-ui-tests.yml
@@ -89,7 +89,7 @@ jobs:
echo "Starting server with LDR_DATA_DIR=$LDR_DATA_DIR"
cd src
# Start server and get its PID
- pdm run python -m local_deep_research.web.app > server.log 2>&1 &
+ LDR_DATA_DIR=$PWD/../data pdm run python -m local_deep_research.web.app > server.log 2>&1 &
SERVER_PID=$!
echo "Server PID: $SERVER_PID"
diff --git a/.github/workflows/mobile-ui-tests.yml b/.github/workflows/mobile-ui-tests.yml
index a0c21a4596..743a3681db 100644
--- a/.github/workflows/mobile-ui-tests.yml
+++ b/.github/workflows/mobile-ui-tests.yml
@@ -64,8 +64,9 @@ jobs:
- name: Start LDR server
run: |
export LDR_DATA_DIR=$PWD/data
+ export PYTHONPATH=$PWD/src:$PYTHONPATH
echo "Starting server with LDR_DATA_DIR=$LDR_DATA_DIR"
- pdm run python -m local_deep_research.web.app &
+ LDR_DATA_DIR=$PWD/data PYTHONPATH=$PWD/src:$PYTHONPATH pdm run python -m local_deep_research.web.app &
SERVER_PID=$!
echo "SERVER_PID=$SERVER_PID" >> $GITHUB_ENV