forked from DsThakurRawat/open-ev-code-handler
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
30 lines (23 loc) · 816 Bytes
/
.env.example
File metadata and controls
30 lines (23 loc) · 816 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# 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