Fix GitHub workflow: .env.llm-tests lost on checkout (#1041)

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: thomasnordquist <7721625+thomasnordquist@users.noreply.github.com>
Co-authored-by: Thomas Nordquist <thomasnordquist@users.noreply.github.com>
This commit is contained in:
Copilot
2026-01-30 21:58:35 +01:00
committed by GitHub
parent 0cae66de69
commit 35f31973c4
7 changed files with 624 additions and 129 deletions

18
.env.example Normal file
View File

@@ -0,0 +1,18 @@
# Example .env file for LLM tests
# Copy this to .env.llm-tests and fill in your API key
# Option 1: OpenAI (recommended for development)
export OPENAI_API_KEY=sk-your-openai-api-key-here
# Option 2: Google Gemini
# export GEMINI_API_KEY=your-gemini-api-key-here
# Option 3: Generic LLM API (specify provider)
# export LLM_API_KEY=your-api-key-here
# export LLM_PROVIDER=openai # or 'gemini'
# Enable LLM tests (required)
export RUN_LLM_TESTS=true
# Optional: Token limit for neighboring topics (default: 500)
# export LLM_NEIGHBORING_TOPICS_TOKEN_LIMIT=500