temp / .env.example
CheeksTheGeek's picture
Initial commit: LLM Code Deployment System
c5292d8 unverified
# Student Configuration
STUDENT_SECRET=your-secret-key-here
STUDENT_EMAIL=student@example.com
STUDENT_API_PORT=8000
# GitHub Configuration
GITHUB_TOKEN=ghp_your_github_personal_access_token
GITHUB_USERNAME=your-github-username
# LLM Configuration (Choose one)
# For AIPipe (recommended for IIT Madras students - $2/month free)
LLM_PROVIDER=aipipe # aipipe, anthropic, or openai
LLM_MODEL=google/gemini-2.0-flash-lite-001 # Model to use with AIPipe
AIPIPE_TOKEN=your-aipipe-token-from-https://aipipe.org/login
AIPIPE_BASE_URL=https://aipipe.org/openrouter/v1 # or https://aipipe.org/openai/v1
# Alternative: Direct API access
ANTHROPIC_API_KEY=sk-ant-your-anthropic-api-key
OPENAI_API_KEY=sk-your-openai-api-key
# Instructor Configuration
INSTRUCTOR_API_PORT=8001
DATABASE_URL=postgresql://user:password@localhost:5432/llm_deployment
EVALUATION_API_URL=http://localhost:8001/api/evaluate
# Task Configuration
TASK_TIMEOUT_MINUTES=10
MAX_RETRY_ATTEMPTS=3
RETRY_DELAYS=1,2,4,8
# Paths
GENERATED_REPOS_DIR=./generated_repos
TASK_TEMPLATES_DIR=./templates
SUBMISSIONS_CSV=./submissions.csv
# Logging
LOG_LEVEL=INFO
LOG_FILE=./logs/app.log