mirror of
https://github.com/LearningCircuit/local-deep-research.git
synced 2026-06-15 19:46:56 +03:00
Add a reusable script and GitHub Actions workflow that tests the complete LDR pipeline (OpenRouter + Serper) by researching PR diffs. - scripts/ldr-diff-research.py: Standalone script that reads diff from stdin and outputs JSON with research results. Can be tested locally. - .github/workflows/e2e-research-test.yml: Workflow triggered by 'ldr_research' label that runs the script and posts results as a PR comment. Configurable via environment variables: - LDR_PROVIDER: LLM provider (default: openrouter) - LDR_SEARCH_TOOL: Search tool (default: serper) - LDR_MODEL: Model name (optional) - LDR_ITERATIONS: Research iterations (default: 1) Required secrets: OPENROUTER_API_KEY, SERPER_API_KEY