Spaces:
Sleeping
Sleeping
File size: 1,144 Bytes
c5292d8 | 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 31 32 33 34 35 36 37 38 39 | # 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
|