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: Fix follow-up research CI workflow server startup

LearningCircuit6c3a8e306862
diff --git a/.github/workflows/followup-research-tests.yml b/.github/workflows/followup-research-tests.yml
index 897036647e..cfaf0f5127 100644
--- a/.github/workflows/followup-research-tests.yml
+++ b/.github/workflows/followup-research-tests.yml
@@ -57,17 +57,24 @@ jobs:
mkdir -p tests/ui_tests/results/followup
- name: Start server
- env:
- FLASK_ENV: testing
- TESTING: true
- SECRET_KEY: test-secret-key
- DATABASE_URL: sqlite:///test.db
run: |
- cd src
- nohup pdm run python -m local_deep_research.web.app --port 5000 > ../server.log 2>&1 &
- echo $! > ../server.pid
- sleep 10
- curl -f http://127.0.0.1:5000 || (cat ../server.log && exit 1)
+ export LDR_USE_FALLBACK_LLM=true
+ export PYTHONPATH=$PWD/src:$PYTHONPATH
+ pdm run python -m local_deep_research.web.app 2>&1 | tee server.log &
+ echo $! > server.pid
+
+ # Wait for server
+ for i in {1..30}; do
+ if curl -f http://localhost:5000/api/v1/health 2>/dev/null; then
+ echo "Server ready after $i seconds"
+ break
+ fi
+ echo "Waiting for server... ($i/30)"
+ sleep 1
+ done
+
+ # Final check
+ curl -f http://localhost:5000/api/v1/health || (echo "Server failed to start" && cat server.log && exit 1)
- name: Run API tests
run: |