2023-02-13 07:33:36 -05:00
|
|
|
# OpenAI API Key - https://platform.openai.com/overview
|
2023-02-15 01:10:43 -05:00
|
|
|
OPENAI_API_KEY=
|
2023-02-21 02:26:23 -05:00
|
|
|
|
|
|
|
# change this to an `accessToken` extracted from the ChatGPT site's `https://chat.openai.com/api/auth/session` response
|
|
|
|
OPENAI_ACCESS_TOKEN=
|
|
|
|
|
2023-03-03 20:34:28 -05:00
|
|
|
# OpenAI API Base URL - https://api.openai.com
|
|
|
|
OPENAI_API_BASE_URL=
|
|
|
|
|
2023-03-09 05:38:30 -05:00
|
|
|
# OpenAI API Model - https://platform.openai.com/docs/models
|
2023-03-09 06:13:18 -05:00
|
|
|
OPENAI_API_MODEL=
|
2023-03-09 05:38:30 -05:00
|
|
|
|
2023-03-30 23:40:01 -04:00
|
|
|
# set `true` to disable OpenAI API debug log
|
|
|
|
OPENAI_API_DISABLE_DEBUG=
|
|
|
|
|
2023-04-02 21:01:56 -04:00
|
|
|
# Reverse Proxy - Available on accessToken
|
2023-04-24 08:07:46 -04:00
|
|
|
# Default: https://ai.fakeopen.com/api/conversation
|
2023-04-02 21:01:56 -04:00
|
|
|
# More: https://github.com/transitive-bullshit/chatgpt-api#reverse-proxy
|
2023-04-02 21:19:12 -04:00
|
|
|
API_REVERSE_PROXY=
|
2023-02-21 02:26:23 -05:00
|
|
|
|
|
|
|
# timeout
|
2023-03-01 00:20:31 -05:00
|
|
|
TIMEOUT_MS=100000
|
2023-03-02 22:59:16 -05:00
|
|
|
|
2023-03-22 06:23:31 -04:00
|
|
|
# Rate Limit
|
|
|
|
MAX_REQUEST_PER_HOUR=
|
|
|
|
|
2023-03-07 09:12:15 -05:00
|
|
|
# Secret key
|
|
|
|
AUTH_SECRET_KEY=
|
|
|
|
|
2023-03-03 20:34:28 -05:00
|
|
|
# Socks Proxy Host
|
2023-03-02 22:59:16 -05:00
|
|
|
SOCKS_PROXY_HOST=
|
|
|
|
|
|
|
|
# Socks Proxy Port
|
|
|
|
SOCKS_PROXY_PORT=
|
2023-03-12 07:38:59 -04:00
|
|
|
|
2023-03-31 00:23:26 -04:00
|
|
|
# Socks Proxy Username
|
|
|
|
SOCKS_PROXY_USERNAME=
|
|
|
|
|
|
|
|
# Socks Proxy Password
|
|
|
|
SOCKS_PROXY_PASSWORD=
|
|
|
|
|
2023-03-12 07:38:59 -04:00
|
|
|
# HTTPS PROXY
|
|
|
|
HTTPS_PROXY=
|
2023-03-20 21:20:27 -04:00
|
|
|
|