forked from GithubProxy/ChatGPT-Next-Web
- 修改 .env.template 文件,移除敏感信息并更新默认值 - 更新实时聊天配置模型列表,使用新的 realtimeModels 常量 - 调整实时聊天配置的默认模型和 API 密钥 - 优化 bot 图标,调整尺寸并压缩图像
173 lines
3.2 KiB
Plaintext
173 lines
3.2 KiB
Plaintext
# Your openai api key. (required)
|
||
OPENAI_API_KEY=
|
||
|
||
# Access password, separated by comma. (optional)
|
||
CODE=
|
||
|
||
# Override openai api request base url. (optional)
|
||
# Default: https://api.openai.com
|
||
# Examples: http://your-openai-proxy.com
|
||
BASE_URL=
|
||
|
||
# Specify OpenAI organization ID.(optional)
|
||
# Default: Empty
|
||
OPENAI_ORG_ID=
|
||
|
||
# (optional)
|
||
# Default: Empty
|
||
# Azure deployment address.
|
||
AZURE_URL=
|
||
|
||
# (optional)
|
||
# Default: Empty
|
||
# Azure key.
|
||
AZURE_API_KEY=
|
||
|
||
# (optional)
|
||
# Default: Empty
|
||
# Azure Api version, you can find it here: [Azure 文档](https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#chat-completions).
|
||
AZURE_API_VERSION=
|
||
|
||
# (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=
|
||
|
||
# anthropic claude Api Key.(optional)
|
||
ANTHROPIC_API_KEY=
|
||
|
||
### anthropic claude Api version. (optional)
|
||
ANTHROPIC_API_VERSION=
|
||
|
||
### anthropic claude Api url (optional)
|
||
ANTHROPIC_URL=
|
||
|
||
# (optional)
|
||
# Default: Empty
|
||
# Baidu Api Key.
|
||
BAIDU_API_KEY=
|
||
|
||
# (optional)
|
||
# Default: Empty
|
||
# Baidu Secret Key.
|
||
BAIDU_SECRET_KEY=
|
||
|
||
# (optional)
|
||
# Default: Empty
|
||
# Baidu Api Url.
|
||
BAIDU_URL=
|
||
|
||
# (optional)
|
||
# Default: Empty
|
||
# ByteDance Api Key.
|
||
BYTEDANCE_API_KEY=
|
||
|
||
# (optional)
|
||
# Default: Empty
|
||
# ByteDance Api Url.
|
||
BYTEDANCE_URL=
|
||
|
||
# (optional)
|
||
# Default: Empty
|
||
# 阿里云(千问)Api Key.
|
||
ALIBABA_API_KEY=
|
||
|
||
# (optional)
|
||
# Default: Empty
|
||
# 阿里云(千问)Api Url.
|
||
ALIBABA_URL=
|
||
|
||
# (optional)
|
||
# Default: Empty
|
||
# 讯飞星火Api Url.
|
||
IFLYTEK_URL=
|
||
|
||
# (optional)
|
||
# Default: Empty
|
||
# 讯飞星火Api Key.
|
||
IFLYTEK_API_KEY=
|
||
|
||
# (optional)
|
||
# Default: Empty
|
||
# 讯飞星火Api Secret.
|
||
IFLYTEK_API_SECRET=
|
||
|
||
# (optional)
|
||
# Default: Empty
|
||
# ChatGLM Api Key.
|
||
CHATGLM_API_KEY=
|
||
|
||
# (optional)
|
||
# Default: Empty
|
||
# ChatGLM Api Url.
|
||
CHATGLM_URL=
|
||
|
||
# (optional)
|
||
# Default: Empty
|
||
# DeepSeek Api Key.
|
||
DEEPSEEK_API_KEY=
|
||
|
||
# (optional)
|
||
# Default: Empty
|
||
# DeepSeek Api Url.
|
||
DEEPSEEK_URL=
|
||
|
||
# (optional)
|
||
# Default: Empty
|
||
# If you do not want users to input their own API key, set this value to 1.
|
||
HIDE_USER_API_KEY=1
|
||
|
||
# (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 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=
|
||
|
||
# (optional)
|
||
# Default: Empty
|
||
# Change default model
|
||
DEFAULT_MODEL=
|
||
|
||
# (optional)
|
||
# Default: Empty
|
||
# To add more models with vision ability, use comma to separate them.
|
||
VISION_MODELS=
|
||
|
||
# (optional)
|
||
# Default: Empty
|
||
# Custom default template, used to initialize '设置' -> '用户输入预处理' configuration item
|
||
DEFAULT_INPUT_TEMPLATE=
|
||
|
||
# (optional)
|
||
# Default: Empty
|
||
# Stability API key
|
||
STABILITY_API_KEY=
|
||
|
||
# (optional)
|
||
# Default: Empty
|
||
# Custom Stability API request url
|
||
STABILITY_URL=
|
||
|
||
### (optional)
|
||
WHITE_WEBDAV_ENDPOINTS=
|
||
|
||
PROXY_URL= |