# AI CLI Backend Environment Variables

# Server Configuration
PORT=3000
NODE_ENV=development

# Frontend URL (for CORS)
FRONTEND_URL=http://localhost:8000

# OpenAI API Key (required for AI features)
# Get your API key from: https://platform.openai.com/api-keys
OPENAI_API_KEY=sk-your-api-key-here

# Security Settings
# Rate limiting (requests per minute)
AI_RATE_LIMIT_MAX=10
RATE_LIMIT_WINDOW_MS=60000

# Session Settings
SESSION_TIMEOUT_MS=1800000

# Log Level (debug, info, warn, error)
LOG_LEVEL=info