ChatGPT-Next-Web/.env.template

69 lines
1.6 KiB
Plaintext
Raw Normal View History

# Your openai api key. (required)
2023-05-16 06:34:35 +00:00
OPENAI_API_KEY=sk-xxxx
2023-11-16 01:22:56 +00:00
# Access password, separated by comma. (optional)
2023-05-16 06:34:35 +00:00
CODE=your-password
# You can start service behind a proxy. (optional)
PROXY_URL=http://localhost:7890
2023-12-23 18:15:30 +00:00
# (optional)
# Default: Empty
# Google Gemini Pro API key, set if you want to use Google Gemini Pro API.
2023-12-23 18:15:30 +00:00
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.
2023-12-23 18:15:30 +00:00
GOOGLE_URL=
# 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=
2023-11-08 07:53:45 +00:00
# (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
2023-11-07 23:09:52 +00:00
# If you do want users to query balance, set this value to 1.
ENABLE_BALANCE_QUERY=
# (optional)
# Default: Empty
2023-11-07 23:09:52 +00:00
# If you want to disable parse settings from url, set this value to 1.
DISABLE_FAST_LINK=
2023-12-23 18:15:30 +00: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.
CUSTOM_MODELS=
# (optional)
# Default: Empty
# Change default model
DEFAULT_MODEL=
2024-04-09 08:49:51 +00:00
# anthropic claude Api Key.(optional)
ANTHROPIC_API_KEY=
### anthropic claude Api version. (optional)
ANTHROPIC_API_VERSION=
### anthropic claude Api url (optional)
2024-04-09 10:05:56 +00:00
ANTHROPIC_URL=
### (optional)
2024-04-09 10:23:52 +00:00
WHITE_WEBDEV_ENDPOINTS=