ai-code-review-agent / .env.example
Padmanav's picture
fix
af5af97
Raw
History Blame Contribute Delete
771 Bytes
# Required — get from https://openrouter.ai/keys
OPENROUTER_API_KEY=your_openrouter_api_key_here
# Optional — protects /analyze and /quick-analyze endpoints
# If unset, endpoints are publicly accessible (logged as a warning)
API_KEY=your_secret_api_key_here
# LLM model to use via OpenRouter
LLM_MODEL=meta-llama/llama-3.3-70b-instruct
# Environment (development | production)
APP_ENV=production
# Log level (debug | info | warning | error)
LOG_LEVEL=info
# Comma-separated origins allowed to call the API (CORS)
ALLOWED_ORIGINS=http://localhost:7860
# Redis broker/backend for the async job queue (/analyze/async, /jobs/{id})
REDIS_URL=redis://localhost:6379/0
# How long (seconds) cached analysis results are kept, keyed by commit SHA
CACHE_TTL_SECONDS=86400