-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
44 lines (35 loc) · 1.58 KB
/
.env.example
File metadata and controls
44 lines (35 loc) · 1.58 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
# =============================================================================
# OpenReview — Environment Configuration
# =============================================================================
# LLM Provider (set the key for your chosen provider)
OPENAI_API_KEY=
ANTHROPIC_API_KEY=
GEMINI_API_KEY=
# Model selection
MAIN_MODEL=gpt-4o # Primary model for deep review and chat
SUB_MODEL=gpt-4o-mini # Secondary model for summarization and suggestions
# Review limits
MAX_ITERATIONS=12 # Max RLM loop iterations
MAX_LLM_CALLS=35 # Max total LLM calls per RLM session
MAX_FILES=100 # Max files per review
MAX_FILE_BYTES=200000 # Max bytes per individual file in snapshot
MAX_TOTAL_BYTES=5000000 # Max total snapshot size
# File filtering
INCLUDE_GLOBS= # e.g. "src/**/*.ts,src/**/*.py"
EXCLUDE_GLOBS= # e.g. "dist/**,node_modules/**"
# Linters (true/false)
LINTER_ESLINT=true
LINTER_RUFF=true
LINTER_SEMGREP=true
LINTER_SHELLCHECK=true
LINTER_GITLEAKS=true
# Review behavior
REVIEW_DRAFTS=false # Review draft PRs (default: skip)
MOVE_DETECTION_THRESHOLD=0.8 # Similarity threshold for copy/move detection
DEFAULT_REVIEW_MODE=fast # fast | rlm
# OpenAI-compatible endpoint (optional — for Azure OpenAI, local models, etc.)
OPENAI_BASE_URL= # e.g. "https://your-resource.openai.azure.com/openai/deployments/your-model"
# GitHub (CLI mode)
GITHUB_PAT= # Personal Access Token for CLI use
# Storage
OPENREVIEW_HOME=~/.openreview # Base path for learnings + traces