mirror of
https://github.com/Chanzhaoyu/chatgpt-web.git
synced 2025-07-21 03:44:21 +00:00

* feat: 添加 OPENAI_API_BASE_URL 可选参数[#249] * fix: 生成的代码块不能复制的问题[#251][#260] * perf: 限制高分屏上的宽度[#257] * perf: 文字按单词换行[#215][#225] * perf: highlight.js 新语法警告 * fix: 移动端输入框不会被键盘弹起[#256] * chore: 更新文档 * chore: version 2.9.2
21 lines
424 B
Bash
21 lines
424 B
Bash
# OpenAI API Key - https://platform.openai.com/overview
|
|
OPENAI_API_KEY=
|
|
|
|
# change this to an `accessToken` extracted from the ChatGPT site's `https://chat.openai.com/api/auth/session` response
|
|
OPENAI_ACCESS_TOKEN=
|
|
|
|
# OpenAI API Base URL - https://api.openai.com
|
|
OPENAI_API_BASE_URL=
|
|
|
|
# Reverse Proxy
|
|
API_REVERSE_PROXY=
|
|
|
|
# timeout
|
|
TIMEOUT_MS=100000
|
|
|
|
# Socks Proxy Host
|
|
SOCKS_PROXY_HOST=
|
|
|
|
# Socks Proxy Port
|
|
SOCKS_PROXY_PORT=
|