forked from anc95/ChatGPT-CodeReview
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
44 lines (37 loc) · 1.77 KB
/
.env.example
File metadata and controls
44 lines (37 loc) · 1.77 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
# open ai apikey
OPENAI_API_KEY=
# The ID of your GitHub App
APP_ID=
WEBHOOK_SECRET=
# Use `trace` to get verbose logging or `info` to show less
LOG_LEVEL=debug
# Go to https://smee.io/new set this to the URL that you are redirected to.
WEBHOOK_PROXY_URL=
PRIVATE_KEY=
# BOT settings
LANGUAGE=
MODEL= # e.g., gpt-5.2-2025-12-11, gpt-5.2-pro-2025-12-11, gpt-5.1-codex, gpt-4o, gpt-4o-mini
temperature=
top_p=
max_tokens=
TARGET_LABEL=
MAX_PATCH_LENGTH=
AUTO_REVIEW=true # Set to 'false' to disable automatic reviews; use /gpt-review command instead
REQUIRE_MAINTAINER_REVIEW= # Default: true for public repos, false for private repos. Set to 'true' or 'false' to override
PROMPT=Below there is a code diff please help me do a code review
IGNORE_PATTERNS=/node_modules,*.md # glob pattern or regex pattern to ignore files, separated by comma
INCLUDE_PATTERNS=*.js,*.ts # glob pattern or regex pattern to include files, separated by comma
# GPT-5.2 Models (recommended - requires API access)
# gpt-5.2-2025-12-11: Default model, excellent balance of quality and cost
# gpt-5.2-pro-2025-12-11: Premium tier for complex/critical reviews
# Note: Doesn't support structured outputs; JSON extracted from text
# GPT-5.1 Models (requires API access)
# gpt-5.1-codex: Optimized for code review and generation
# gpt-5.1-codex-mini: Cost-effective variant
# gpt-5.1: General purpose model
# Reasoning model settings (for GPT-5.2, GPT-5.1, GPT-5.1-Codex models)
# These settings only apply when using GPT-5.1+ models with the Responses API
REASONING_EFFORT=medium # none, minimal, low, medium, high
VERBOSITY=medium # low, medium, high
# Note: Higher reasoning effort = better quality but slower and more expensive
# Recommended: medium for most use cases, high for critical reviews