1
0
mirror of https://github.com/hustcer/deepseek-review.git synced 2026-05-13 05:16:05 +08:00
Files
deepseek-review/.env.example
Justin Ma 272fb2244e feat: Add DEFAULT_GITHUB_REPO & DEFAULT_LOCAL_REPO config for local CR (#42)
* feat: Add DEFAULT_GITHUB_REPO & DEFAULT_LOCAL_REPO config for local code review

* feat: Add DEFAULT_GITHUB_REPO & DEFAULT_LOCAL_REPO config for local code review
2025-01-30 20:07:02 +08:00

21 lines
1.3 KiB
Plaintext

# Description: Environment variables for Local Code Review Only
# Usage: Copy this file to .env and replace the values with your own
# WARNING: Do not commit the actual .env file to version control as it may contain sensitive information.
# DEEPSEEK_TOKEN: Obtain this token from your Deepseek account settings
DEEPSEEK_TOKEN='Your Deepseek API token'
# GITHUB_TOKEN: Your GitHub API token to query GitHub PR changes
# Generate this token from your GitHub account with the necessary permissions
GITHUB_TOKEN='Your GitHub API token'
# Default GitHub repository name to fetch PR changes
DEFAULT_GITHUB_REPO='hustcer/deepseek-review'
# Default local repository absolute path to query commit changes
DEFAULT_LOCAL_REPO='/Users/hustcer/deepseek-review'
# BASE_URL: Deepseek API base URL
# Replace with the actual API base URL if different
BASE_URL='https://api.deepseek.ai'
# USER_PROMPT: User prompt message, customize as needed
USER_PROMPT='Please review the following code changes'
# SYSTEM_PROMPT: System prompt message, customize as needed
SYSTEM_PROMPT='You are a professional code review assistant responsible for analyzing code changes in GitHub Pull Requests. Identify potential issues such as code style violations, logical errors, security vulnerabilities, and provide improvement suggestions. Clearly list the problems and recommendations in a concise manner.'