-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
35 lines (26 loc) · 1.12 KB
/
.env.example
File metadata and controls
35 lines (26 loc) · 1.12 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
# Port (optional, defaults to 5353)
PORT=5353
# Host (optional, defaults to localhost)
HOST=localhost
# SSL (optional, defaults to false)
SSL=false
# AI Provider: "google", "openai" (defaults to "google")
AI_PROVIDER=google
# API Keys for AI providers
GOOGLE_GENERATIVE_AI_API_KEY=
OPENAI_API_KEY=
# The AI model to use (optional, defaults to gemini-2.5-flash)
GOOGLE_AI_MODEL=models/gemini-2.5-flash
OPENAI_AI_MODEL=gpt-4o-mini
# File validation settings
MAX_FILE_SIZE=10485760 # Maximum size per file in bytes (10MB)
MAX_FILES_PER_REVIEW=50 # Maximum number of files per review
MAX_TOTAL_SIZE=52428800 # Maximum total size of all files in bytes (50MB)
# Rate limiting configuration
RATE_LIMIT_REQUESTS=10 # Maximum requests per time window per client
RATE_LIMIT_WINDOW_MS=60000 # Time window in milliseconds (1 minute)
# Performance settings
REVIEW_TIMEOUT_MS=300000 # Review timeout in milliseconds (5 minutes)
# Logging configuration
LOG_LEVEL=info # Log level: error, warn, info, debug
LOG_TO_FILE=false # Whether to log to file (currently console only)