提交配置文件

This commit is contained in:
yangyongju 2024-08-13 14:24:59 +08:00
parent dcb5947b10
commit 741a078c87
2 changed files with 77 additions and 1 deletions

76
.env.local Normal file
View File

@ -0,0 +1,76 @@
# Your openai api key. (required)
OPENAI_API_KEY=
# Access password, separated by comma. (optional)
# CODE=your-password
# You can start service behind a proxy. (optional)
PROXY_URL=
# (optional)
# Default: Empty
# Google Gemini Pro API key, set if you want to use Google Gemini Pro API.
GOOGLE_API_KEY=
# (optional)
# Default: https://generativelanguage.googleapis.com/
# Google Gemini Pro API url without pathname, set if you want to customize Google Gemini Pro API url.
GOOGLE_URL=
# Override openai api request base url. (optional)
# Default: https://api.openai.com
# Examples: http://your-openai-proxy.com
BASE_URL=https://api.deepseek.com
# Specify OpenAI organization ID.(optional)
# Default: Empty
OPENAI_ORG_ID=
# (optional)
# Default: Empty
# If you do not want users to use GPT-4, set this value to 1.
DISABLE_GPT4=
# (optional)
# Default: Empty
# If you do not want users to input their own API key, set this value to 1.
HIDE_USER_API_KEY=
# (optional)
# Default: Empty
# If you do want users to query balance, set this value to 1.
ENABLE_BALANCE_QUERY=
# (optional)
# Default: Empty
# If you want to disable parse settings from url, set this value to 1.
DISABLE_FAST_LINK=
# (optional)
# Default: Empty
# To control custom models, use + to add a custom model, use - to hide a model, use name=displayName to customize model name, separated by comma.
CUSTOM_MODELS=-all,qwen-plus,qwen-max,qwen-max-0107,deepseek-chat,deepseek-coder
# (optional)
# Default: Empty
# Change default model
DEFAULT_MODEL=qwen-max
# anthropic claude Api Key.(optional)
ANTHROPIC_API_KEY=
### anthropic claude Api version. (optional)
ANTHROPIC_API_VERSION=
### anthropic claude Api url (optional)
ANTHROPIC_URL=
### (optional)
WHITE_WEBDEV_ENDPOINTS=
ALIBABA_API_KEY=sk-abdaf2aaf30d48e1adae3839b466527b
ALIBABA_API_URL=
DEEPSEEK_API_KEY=sk-c8e0505e462f49068758ebcc4331c9ee
DEEPSEEK_URL=

2
.gitignore vendored
View File

@ -26,7 +26,7 @@ yarn-error.log*
.pnpm-debug.log* .pnpm-debug.log*
# local env files # local env files
.env*.local
# vercel # vercel
.vercel .vercel