2023-05-16 16:02:53 +09:00
|
|
|
|
# Your openai api key. (required)
|
2025-01-10 15:55:38 +09:00
|
|
|
|
OPENAI_API_KEY=
|
2023-05-16 16:02:53 +09:00
|
|
|
|
|
2023-11-16 10:22:56 +09:00
|
|
|
|
# Access password, separated by comma. (optional)
|
2025-01-10 15:55:38 +09:00
|
|
|
|
CODE=
|
2023-05-16 15:34:35 +09:00
|
|
|
|
|
2025-01-10 02:57:25 +09:00
|
|
|
|
# Override openai api request base url. (optional)
|
|
|
|
|
# Default: https://api.openai.com
|
|
|
|
|
# Examples: http://your-openai-proxy.com
|
2025-01-10 15:55:38 +09:00
|
|
|
|
BASE_URL=
|
2025-01-10 02:57:25 +09:00
|
|
|
|
|
|
|
|
|
# Specify OpenAI organization ID.(optional)
|
|
|
|
|
# Default: Empty
|
2025-01-10 15:55:38 +09:00
|
|
|
|
OPENAI_ORG_ID=
|
2025-01-10 02:57:25 +09:00
|
|
|
|
|
|
|
|
|
# (optional)
|
|
|
|
|
# Default: Empty
|
|
|
|
|
# Azure deployment address.
|
2025-01-10 15:55:38 +09:00
|
|
|
|
AZURE_URL=
|
2025-01-10 02:57:25 +09:00
|
|
|
|
|
|
|
|
|
# (optional)
|
|
|
|
|
# Default: Empty
|
|
|
|
|
# Azure key.
|
2025-01-10 15:55:38 +09:00
|
|
|
|
AZURE_API_KEY=
|
2025-01-10 02:57:25 +09:00
|
|
|
|
|
|
|
|
|
# (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).
|
2025-01-10 15:55:38 +09:00
|
|
|
|
AZURE_API_VERSION=
|
2023-05-16 16:02:53 +09:00
|
|
|
|
|
2023-12-24 03:15:30 +09:00
|
|
|
|
# (optional)
|
|
|
|
|
# Default: Empty
|
2024-07-18 02:51:56 +09:00
|
|
|
|
# Google Gemini Pro API key, set if you want to use Google Gemini Pro API.
|
2025-01-10 15:55:38 +09:00
|
|
|
|
GOOGLE_API_KEY=
|
2023-12-24 03:15:30 +09:00
|
|
|
|
|
|
|
|
|
# (optional)
|
2023-12-31 19:02:04 +09:00
|
|
|
|
# Default: https://generativelanguage.googleapis.com/
|
2024-07-18 02:51:56 +09:00
|
|
|
|
# Google Gemini Pro API url without pathname, set if you want to customize Google Gemini Pro API url.
|
2025-01-10 15:55:38 +09:00
|
|
|
|
GOOGLE_URL=
|
2023-12-24 03:15:30 +09:00
|
|
|
|
|
2025-01-10 02:57:25 +09:00
|
|
|
|
# anthropic claude Api Key.(optional)
|
2025-01-10 15:55:38 +09:00
|
|
|
|
ANTHROPIC_API_KEY=
|
2023-05-16 16:02:53 +09:00
|
|
|
|
|
2025-01-10 02:57:25 +09:00
|
|
|
|
### anthropic claude Api version. (optional)
|
2025-01-10 15:55:38 +09:00
|
|
|
|
ANTHROPIC_API_VERSION=
|
2025-01-10 02:57:25 +09:00
|
|
|
|
|
|
|
|
|
### anthropic claude Api url (optional)
|
2025-01-10 15:55:38 +09:00
|
|
|
|
ANTHROPIC_URL=
|
2025-01-10 02:57:25 +09:00
|
|
|
|
|
|
|
|
|
# (optional)
|
2023-05-16 16:02:53 +09:00
|
|
|
|
# Default: Empty
|
2025-01-10 02:57:25 +09:00
|
|
|
|
# Baidu Api Key.
|
2025-01-10 15:55:38 +09:00
|
|
|
|
BAIDU_API_KEY=
|
2023-05-16 16:02:53 +09:00
|
|
|
|
|
2023-11-08 16:53:45 +09:00
|
|
|
|
# (optional)
|
|
|
|
|
# Default: Empty
|
2025-01-10 02:57:25 +09:00
|
|
|
|
# Baidu Secret Key.
|
2025-01-10 15:55:38 +09:00
|
|
|
|
BAIDU_SECRET_KEY=
|
2025-01-10 02:57:25 +09:00
|
|
|
|
|
|
|
|
|
# (optional)
|
|
|
|
|
# Default: Empty
|
|
|
|
|
# Baidu Api Url.
|
2025-01-10 15:55:38 +09:00
|
|
|
|
BAIDU_URL=
|
2025-01-10 02:57:25 +09:00
|
|
|
|
|
|
|
|
|
# (optional)
|
|
|
|
|
# Default: Empty
|
|
|
|
|
# ByteDance Api Key.
|
2025-01-10 15:55:38 +09:00
|
|
|
|
BYTEDANCE_API_KEY=
|
2025-01-10 02:57:25 +09:00
|
|
|
|
|
|
|
|
|
# (optional)
|
|
|
|
|
# Default: Empty
|
|
|
|
|
# ByteDance Api Url.
|
2025-01-10 15:55:38 +09:00
|
|
|
|
BYTEDANCE_URL=
|
2025-01-10 02:57:25 +09:00
|
|
|
|
|
|
|
|
|
# (optional)
|
|
|
|
|
# Default: Empty
|
|
|
|
|
# 阿里云(千问)Api Key.
|
2025-01-10 15:55:38 +09:00
|
|
|
|
ALIBABA_API_KEY=
|
2025-01-10 02:57:25 +09:00
|
|
|
|
|
|
|
|
|
# (optional)
|
|
|
|
|
# Default: Empty
|
|
|
|
|
# 阿里云(千问)Api Url.
|
2025-01-10 15:55:38 +09:00
|
|
|
|
ALIBABA_URL=
|
2025-01-10 02:57:25 +09:00
|
|
|
|
|
|
|
|
|
# (optional)
|
|
|
|
|
# Default: Empty
|
|
|
|
|
# 讯飞星火Api Url.
|
2025-01-10 15:55:38 +09:00
|
|
|
|
IFLYTEK_URL=
|
2025-01-10 02:57:25 +09:00
|
|
|
|
|
|
|
|
|
# (optional)
|
|
|
|
|
# Default: Empty
|
|
|
|
|
# 讯飞星火Api Key.
|
2025-01-10 15:55:38 +09:00
|
|
|
|
IFLYTEK_API_KEY=
|
2025-01-10 02:57:25 +09:00
|
|
|
|
|
|
|
|
|
# (optional)
|
|
|
|
|
# Default: Empty
|
|
|
|
|
# 讯飞星火Api Secret.
|
2025-01-10 15:55:38 +09:00
|
|
|
|
IFLYTEK_API_SECRET=
|
2025-01-10 02:57:25 +09:00
|
|
|
|
|
|
|
|
|
# (optional)
|
|
|
|
|
# Default: Empty
|
|
|
|
|
# ChatGLM Api Key.
|
2025-01-10 15:55:38 +09:00
|
|
|
|
CHATGLM_API_KEY=
|
2025-01-10 02:57:25 +09:00
|
|
|
|
|
|
|
|
|
# (optional)
|
|
|
|
|
# Default: Empty
|
|
|
|
|
# ChatGLM Api Url.
|
2025-01-10 15:55:38 +09:00
|
|
|
|
CHATGLM_URL=
|
2025-01-10 02:57:25 +09:00
|
|
|
|
|
|
|
|
|
# (optional)
|
|
|
|
|
# Default: Empty
|
|
|
|
|
# DeepSeek Api Key.
|
2025-01-10 15:55:38 +09:00
|
|
|
|
DEEPSEEK_API_KEY=
|
2025-01-10 02:57:25 +09:00
|
|
|
|
|
|
|
|
|
# (optional)
|
|
|
|
|
# Default: Empty
|
|
|
|
|
# DeepSeek Api Url.
|
2025-01-10 15:55:38 +09:00
|
|
|
|
DEEPSEEK_URL=
|
2023-11-08 16:53:45 +09:00
|
|
|
|
|
2023-05-16 16:02:53 +09:00
|
|
|
|
# (optional)
|
|
|
|
|
# Default: Empty
|
|
|
|
|
# If you do not want users to input their own API key, set this value to 1.
|
2025-01-10 02:57:25 +09:00
|
|
|
|
HIDE_USER_API_KEY=1
|
|
|
|
|
|
|
|
|
|
# (optional)
|
|
|
|
|
# Default: Empty
|
|
|
|
|
# If you do not want users to use GPT-4, set this value to 1.
|
2025-01-10 15:55:38 +09:00
|
|
|
|
DISABLE_GPT4=
|
2023-05-16 16:02:53 +09:00
|
|
|
|
|
|
|
|
|
# (optional)
|
|
|
|
|
# Default: Empty
|
2023-11-08 08:09:52 +09:00
|
|
|
|
# If you do want users to query balance, set this value to 1.
|
2025-01-10 15:55:38 +09:00
|
|
|
|
ENABLE_BALANCE_QUERY=
|
2023-06-25 21:20:36 +09:00
|
|
|
|
|
|
|
|
|
# (optional)
|
|
|
|
|
# Default: Empty
|
2023-11-08 08:09:52 +09:00
|
|
|
|
# If you want to disable parse settings from url, set this value to 1.
|
2025-01-10 15:55:38 +09:00
|
|
|
|
DISABLE_FAST_LINK=
|
2023-12-24 03:15:30 +09:00
|
|
|
|
|
2024-07-17 12:12:26 +09:00
|
|
|
|
# (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.
|
2025-01-10 15:55:38 +09:00
|
|
|
|
CUSTOM_MODELS=
|
2024-07-17 12:12:26 +09:00
|
|
|
|
|
|
|
|
|
# (optional)
|
|
|
|
|
# Default: Empty
|
|
|
|
|
# Change default model
|
2025-01-10 15:55:38 +09:00
|
|
|
|
DEFAULT_MODEL=
|
2024-04-09 17:49:51 +09:00
|
|
|
|
|
2025-01-10 02:57:25 +09:00
|
|
|
|
# (optional)
|
|
|
|
|
# Default: Empty
|
|
|
|
|
# To add more models with vision ability, use comma to separate them.
|
2025-01-10 15:55:38 +09:00
|
|
|
|
VISION_MODELS=
|
2024-04-09 17:49:51 +09:00
|
|
|
|
|
2025-01-10 02:57:25 +09:00
|
|
|
|
# (optional)
|
|
|
|
|
# Default: Empty
|
|
|
|
|
# Custom default template, used to initialize '设置' -> '用户输入预处理' configuration item
|
2025-01-10 15:55:38 +09:00
|
|
|
|
DEFAULT_INPUT_TEMPLATE=
|
2024-04-09 17:49:51 +09:00
|
|
|
|
|
2025-01-10 02:57:25 +09:00
|
|
|
|
# (optional)
|
|
|
|
|
# Default: Empty
|
|
|
|
|
# Stability API key
|
2025-01-10 15:55:38 +09:00
|
|
|
|
STABILITY_API_KEY=
|
2025-01-10 02:57:25 +09:00
|
|
|
|
|
|
|
|
|
# (optional)
|
|
|
|
|
# Default: Empty
|
|
|
|
|
# Custom Stability API request url
|
2025-01-10 15:55:38 +09:00
|
|
|
|
STABILITY_URL=
|
2024-04-09 19:05:56 +09:00
|
|
|
|
|
|
|
|
|
### (optional)
|
2025-01-10 15:55:38 +09:00
|
|
|
|
WHITE_WEBDAV_ENDPOINTS=
|
2025-01-10 02:57:25 +09:00
|
|
|
|
|
2025-01-10 15:55:38 +09:00
|
|
|
|
PROXY_URL=
|