2023-05-16 15:02:53 +08:00
|
|
|
|
|
|
|
# Your openai api key. (required)
|
2023-05-16 14:34:35 +08:00
|
|
|
OPENAI_API_KEY=sk-xxxx
|
2023-05-16 15:02:53 +08:00
|
|
|
|
2023-11-16 09:22:56 +08:00
|
|
|
# Access password, separated by comma. (optional)
|
2023-05-16 14:34:35 +08:00
|
|
|
CODE=your-password
|
|
|
|
|
2023-05-16 15:02:53 +08:00
|
|
|
# You can start service behind a proxy
|
|
|
|
PROXY_URL=http://localhost:7890
|
|
|
|
|
2023-12-24 02:15:30 +08:00
|
|
|
# (optional)
|
|
|
|
# Default: Empty
|
|
|
|
# Googel Gemini Pro API key, set if you want to use Google Gemini Pro API.
|
|
|
|
GOOGLE_API_KEY=
|
|
|
|
|
|
|
|
# (optional)
|
2023-12-31 18:02:04 +08:00
|
|
|
# Default: https://generativelanguage.googleapis.com/
|
|
|
|
# Googel Gemini Pro API url without pathname, set if you want to customize Google Gemini Pro API url.
|
2023-12-24 02:15:30 +08:00
|
|
|
GOOGLE_URL=
|
|
|
|
|
2023-05-16 15:02:53 +08:00
|
|
|
# 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 15:53:45 +08:00
|
|
|
# (optional)
|
|
|
|
# Default: Empty
|
|
|
|
# If you do not want users to use GPT-4, set this value to 1.
|
|
|
|
DISABLE_GPT4=
|
|
|
|
|
2023-05-16 15:02:53 +08:00
|
|
|
# (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-08 07:09:52 +08:00
|
|
|
# If you do want users to query balance, set this value to 1.
|
|
|
|
ENABLE_BALANCE_QUERY=
|
2023-06-25 20:20:36 +08:00
|
|
|
|
|
|
|
# (optional)
|
|
|
|
# Default: Empty
|
2023-11-08 07:09:52 +08:00
|
|
|
# If you want to disable parse settings from url, set this value to 1.
|
|
|
|
DISABLE_FAST_LINK=
|
2023-12-24 02:15:30 +08:00
|
|
|
|
2024-04-09 16:49:51 +08: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 18:05:56 +08:00
|
|
|
ANTHROPIC_URL=
|
|
|
|
|
|
|
|
### (optional)
|
2024-04-09 18:23:52 +08:00
|
|
|
WHITE_WEBDEV_ENDPOINTS=
|