-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy path.env.example
25 lines (21 loc) · 1.01 KB
/
.env.example
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
# Copy this file to .env and set the variables
# The variables are only used when running locally
# REQUIRED: Set this as your Github personal access token
GITHUB_TOKEN=
# REQUIRED: LLM API
LLM_API_KEY= # API key from your LLM provider (ie Anthropic, Google, OpenAI)
LLM_MODEL= # Model name from your LLM provider (ie claude-3-5-sonnet-20241022, gemini-1.5-flash-latest, gpt-4o-mini)
# Simulate a Pull Request open event
GITHUB_ACTION=ai-reviewer
GITHUB_EVENT_NAME=pull_request
GITHUB_EVENT_ACTION=created
GITHUB_REPOSITORY=presubmit/ai-reviewer # update with your fork
GITHUB_PULL_REQUEST=1 # update with your pull request number
GITHUB_COMMENT_ID=1111111 # update with your comment id
# Simulate a Pull Request review comment event
# GITHUB_ACTION=ai-reviewer
# GITHUB_EVENT_NAME=pull_request_review_comment
# GITHUB_EVENT_ACTION=created
# GITHUB_REPOSITORY=presubmit/ai-reviewer # update with your fork
# GITHUB_PULL_REQUEST=1 # update with your pull request number
# GITHUB_COMMENT_ID=1111111 # update with your comment id