pr-reviewer/.env.example

34 lines
1.2 KiB
Text
Raw Normal View History

# --- GitHub ---
# Leave GITHUB_TOKEN blank to use your local `gh auth token` instead of a PAT.
GITHUB_TOKEN=
GITHUB_ORG=Sea-Haven-Industries
PR_SEARCH_FILTER=is:pr state:open archived:false sort:updated-desc org:Sea-Haven-Industries
MAX_PRS=100
MAX_DIFF_BYTES=120000
# --- Fireworks ---
FIREWORKS_API_KEY=fw_your_key_here
FIREWORKS_BASE_URL=https://api.fireworks.ai/inference/v1
# Coding-strong options: accounts/fireworks/models/deepseek-v4-pro
# accounts/fireworks/models/kimi-k2p6
FIREWORKS_MODEL=accounts/fireworks/models/deepseek-v4-pro
FIREWORKS_TEMPERATURE=0.2
FIREWORKS_MAX_TOKENS=4000
# --- Review behavior ---
# Comma-separated author logins to @-mention in the review body.
MENTION_AUTHORS=openswe
HOST=127.0.0.1
PORT=8765
# --- Background auto-review worker ---
# Seconds between poll cycles (pre-reviews new/changed non-draft PRs).
POLL_INTERVAL=300
# How many PRs to review in parallel per cycle (kept low to respect rate limits).
WORKER_CONCURRENCY=2
# Stop auto-retrying a PR that keeps failing until its diff changes.
MAX_REVIEW_ATTEMPTS=3
# SQLite cache path. Defaults to pr_cache.db in the repo root (gitignored).
# CACHE_DB=/absolute/path/to/pr_cache.db