Files
local-deep-research/scripts
LearningCircuit d4327184a4 feat: add E2E research test via PR label trigger
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
2025-11-30 01:29:15 +01:00
..