-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
53 lines (46 loc) · 1.54 KB
/
Copy path.env.example
File metadata and controls
53 lines (46 loc) · 1.54 KB
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# Environment Configuration Template for Auto-Refractor
# Copy this file to .env and fill in your actual values
# ============================================
# GitHub Configuration
# ============================================
GITHUB_TOKEN=ghp_your_github_personal_access_token_here
GITHUB_WEBHOOK_SECRET=your_webhook_secret_here
GITHUB_REPO_OWNER=your-github-username
GITHUB_REPO_NAME=your-repo-name
# ============================================
# LLM Configuration
# ============================================
GROQ_API_KEY=gsk_your_groq_api_key_here
LLM_PROVIDER=groq
LLM_MODEL=deepseek-r1-distill-llama-70b
LLM_TEMPERATURE=0.7
LLM_MAX_TOKENS=4096
# ============================================
# Webhook Server Configuration
# ============================================
WEBHOOK_HOST=0.0.0.0
WEBHOOK_PORT=8000
WEBHOOK_WORKERS=4
# ============================================
# Redis Configuration (for Celery task queue)
# ============================================
REDIS_URL=redis://localhost:6379/0
# ============================================
# Scoring Configuration
# ============================================
ENABLE_BLEU=true
ENABLE_PERPLEXITY=false
ENABLE_CODE_METRICS=true
# ============================================
# Analysis Thresholds
# ============================================
MAX_FUNCTION_LENGTH=50
MAX_FUNCTION_ARGS=5
MAX_NESTING_DEPTH=4
MAX_CYCLOMATIC_COMPLEXITY=10
# ============================================
# Application Settings
# ============================================
DEBUG=false
LOG_LEVEL=INFO
MAX_FILE_SIZE_MB=5