1
0
mirror of https://github.com/hustcer/deepseek-review.git synced 2026-05-13 05:16:05 +08:00

feat: Read CHAT_MODEL and BASE_URL from .env for local code review (#80)

* feat: Read CHAT_MODEL and BASE_URL from .env for local code review

* feat: Read CHAT_MODEL and BASE_URL from .env for local code review
This commit is contained in:
Justin Ma
2025-02-07 18:45:54 +08:00
committed by GitHub
parent bb17f50cc2
commit 9fce8f6d22
2 changed files with 12 additions and 5 deletions

View File

@@ -4,6 +4,8 @@
# CHAT_TOKEN: Obtain this token from your DeepSeek account settings
CHAT_TOKEN='Your DeepSeek API token'
# CHAT_MODEL='deepseek-chat' # Official DeepSeek model
# CHAT_MODEL='deepseek-ai/DeepSeek-V3' # SiliconFlow DS model
# 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'
@@ -20,6 +22,7 @@ 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'
# BASE_URL='https://api.siliconflow.cn/v1' # SiliconFlow API
# USER_PROMPT: User prompt message, customize as needed
# OR a yaml file path with key name specified to load the prompt message,
# e.g., USER_PROMPT='/User/abc/prompts.yaml:usr-prompt'