Files
deployHook/.env.example
sebseb7 e4a01f387b feat(api): add LLM-based DE executive summary to Telegram release hook
Introduce helpers to fetch recent git commits and call an OpenAI-compatible
LLM to generate a short German executive summary appended to Telegram
notifications. Normalize async formatting in message builder and ensure
Promise handling when sending messages.

Also remove committed .env with secrets and add .env to .gitignore to
prevent future leaks.
2025-08-04 10:30:35 +02:00

26 lines
953 B
Plaintext

# Server
PORT=9304
# Telegram Bot
TELEGRAM_BOT_TOKEN=1234567890:ABCDEF-your-telegram-bot-token
TELEGRAM_CHAT_ID=123456789
# LLM Provider selection: "openrouter" (default) or "openai"
LLM_PROVIDER=openrouter
# OpenRouter configuration (used when LLM_PROVIDER=openrouter)
OPENROUTER_API_KEY=your-openrouter-api-key
# Optional override (defaults to https://openrouter.ai/api)
OPENROUTER_BASE_URL=https://openrouter.ai/api
# Optional model override (defaults to openrouter/anthropic/claude-3.5-sonnet when provider=openrouter)
# Example models:
# - openrouter/anthropic/claude-3.5-sonnet
# - openrouter/openai/gpt-4o-mini
LLM_MODEL=openrouter/anthropic/claude-3.5-sonnet
# OpenAI configuration (used when LLM_PROVIDER=openai)
OPENAI_API_KEY=your-openai-api-key
# Optional override (defaults to https://api.openai.com)
OPENAI_BASE_URL=https://api.openai.com
# Optional model override (defaults to gpt-4o-mini when provider=openai)
# LLM_MODEL=gpt-4o-mini