CodeLens / .env.example
ArshVerma's picture
Initial CodeLens OpenEnv submission
f8670cd
Raw
History Blame Contribute Delete
816 Bytes
# CodeLens. — Configuration Template
# Copy this file to .env and fill in your values.
# API Profile
APP_HOST=0.0.0.0
APP_PORT=7860
APP_ENV=development # development | production
APP_PORT=7860
# Security (X-API-Key header)
API_KEY=changeme
API_KEY_ENABLED=false
# Persistence & State
DATABASE_URL=sqlite+aiosqlite:///./data/codelens.db
EPISODE_TTL=3600 # Auto-cleanup time in seconds (1hr)
# Rate Limiting (Requests per minute)
RATE_LIMIT_DEFAULT=60
# Leaderboard
LEADERBOARD_LIMIT=10 # Default entries per task page
# Logging
LOG_LEVEL=INFO # DEBUG | INFO | WARNING | ERROR
# Inference (OpenEnv spec)
OPENAI_API_KEY= # Required for inference.py (OpenAI-compatible API key)
API_BASE_URL=https://api.openai.com/v1
MODEL_NAME=gpt-3.5-turbo