mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-10 03:56:37 +08:00
更改了github链接增加了zhaoshengmu名字
This commit is contained in:
parent
d053bee8d3
commit
45c78e6b0e
4
.github/ISSUE_TEMPLATE/反馈问题.md
vendored
4
.github/ISSUE_TEMPLATE/反馈问题.md
vendored
@ -9,8 +9,8 @@ assignees: ''
|
|||||||
|
|
||||||
**反馈须知**
|
**反馈须知**
|
||||||
> 请在下方中括号内输入 x 来表示你已经知晓相关内容。
|
> 请在下方中括号内输入 x 来表示你已经知晓相关内容。
|
||||||
- [ ] 我确认已经在 [常见问题](https://github.com/Yidadaa/ChatGPT-Next-Web/blob/main/docs/faq-cn.md) 中搜索了此次反馈的问题,没有找到解答;
|
- [ ] 我确认已经在 [常见问题](https://github.com/Chenm4/ChatGPTForMyselfWeb/blob/main/docs/faq-cn.md) 中搜索了此次反馈的问题,没有找到解答;
|
||||||
- [ ] 我确认已经在 [Issues](https://github.com/Yidadaa/ChatGPT-Next-Web/issues) 列表(包括已经 Close 的)中搜索了此次反馈的问题,没有找到解答。
|
- [ ] 我确认已经在 [Issues](https://github.com/Chenm4/ChatGPTForMyselfWeb/issues) 列表(包括已经 Close 的)中搜索了此次反馈的问题,没有找到解答。
|
||||||
|
|
||||||
**描述问题**
|
**描述问题**
|
||||||
请在此描述你遇到了什么问题。
|
请在此描述你遇到了什么问题。
|
||||||
|
2
.github/workflows/docker.yml
vendored
2
.github/workflows/docker.yml
vendored
@ -25,7 +25,7 @@ jobs:
|
|||||||
id: meta
|
id: meta
|
||||||
uses: docker/metadata-action@v4
|
uses: docker/metadata-action@v4
|
||||||
with:
|
with:
|
||||||
images: yidadaa/chatgpt-next-web
|
images: Chenm4/ChatGPTForMyselfWeb
|
||||||
tags: |
|
tags: |
|
||||||
type=raw,value=latest
|
type=raw,value=latest
|
||||||
type=ref,event=tag
|
type=ref,event=tag
|
||||||
|
2
.github/workflows/sync.yml
vendored
2
.github/workflows/sync.yml
vendored
@ -24,7 +24,7 @@ jobs:
|
|||||||
id: sync
|
id: sync
|
||||||
uses: aormsby/Fork-Sync-With-Upstream-action@v3.4
|
uses: aormsby/Fork-Sync-With-Upstream-action@v3.4
|
||||||
with:
|
with:
|
||||||
upstream_sync_repo: Yidadaa/ChatGPT-Next-Web
|
upstream_sync_repo: Chenm4/ChatGPTForMyselfWeb
|
||||||
upstream_sync_branch: main
|
upstream_sync_branch: main
|
||||||
target_sync_branch: main
|
target_sync_branch: main
|
||||||
target_repo_token: ${{ secrets.GITHUB_TOKEN }} # automatically generated, no need to set
|
target_repo_token: ${{ secrets.GITHUB_TOKEN }} # automatically generated, no need to set
|
||||||
|
26
README.md
26
README.md
@ -9,13 +9,13 @@ One-Click to deploy well-designed ChatGPT web UI on Vercel.
|
|||||||
|
|
||||||
一键免费部署你的私人 ChatGPT 网页应用。
|
一键免费部署你的私人 ChatGPT 网页应用。
|
||||||
|
|
||||||
[Demo](https://chat-gpt-next-web.vercel.app/) / [Issues](https://github.com/Yidadaa/ChatGPT-Next-Web/issues) / [Join Discord](https://discord.gg/zrhvHCr79N) / [Buy Me a Coffee](https://www.buymeacoffee.com/yidadaa)
|
[Demo](https://chat-gpt-next-web.vercel.app/) / [Issues](https://github.com/Chenm4/ChatGPTForMyselfWeb/issues) / [Join Discord](https://discord.gg/zrhvHCr79N) / [Buy Me a Coffee](https://www.buymeacoffee.com/yidadaa)
|
||||||
|
|
||||||
[演示](https://chat-gpt-next-web.vercel.app/) / [反馈](https://github.com/Yidadaa/ChatGPT-Next-Web/issues) / [QQ 群](https://user-images.githubusercontent.com/16968934/233002565-139daa1a-eb3a-4a12-ac37-6418e7a15d36.png) / [打赏开发者](https://user-images.githubusercontent.com/16968934/227772541-5bcd52d8-61b7-488c-a203-0330d8006e2b.jpg)
|
[演示](https://chat-gpt-next-web.vercel.app/) / [反馈](https://github.com/Chenm4/ChatGPTForMyselfWeb/issues) / [QQ 群](https://user-images.githubusercontent.com/16968934/233002565-139daa1a-eb3a-4a12-ac37-6418e7a15d36.png) / [打赏开发者](https://user-images.githubusercontent.com/16968934/227772541-5bcd52d8-61b7-488c-a203-0330d8006e2b.jpg)
|
||||||
|
|
||||||
[](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2FYidadaa%2FChatGPT-Next-Web&env=OPENAI_API_KEY&env=CODE&project-name=chatgpt-next-web&repository-name=ChatGPT-Next-Web)
|
[](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2FYidadaa%2FChatGPT-Next-Web&env=OPENAI_API_KEY&env=CODE&project-name=chatgpt-next-web&repository-name=ChatGPT-Next-Web)
|
||||||
|
|
||||||
[](https://gitpod.io/#https://github.com/Yidadaa/ChatGPT-Next-Web)
|
[](https://gitpod.io/#https://github.com/Chenm4/ChatGPTForMyselfWeb)
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
@ -34,13 +34,13 @@ One-Click to deploy well-designed ChatGPT web UI on Vercel.
|
|||||||
|
|
||||||
## Roadmap
|
## Roadmap
|
||||||
|
|
||||||
- [x] System Prompt: pin a user defined prompt as system prompt [#138](https://github.com/Yidadaa/ChatGPT-Next-Web/issues/138)
|
- [x] System Prompt: pin a user defined prompt as system prompt [#138](https://github.com/Chenm4/ChatGPTForMyselfWeb/issues/138)
|
||||||
- [x] User Prompt: user can edit and save custom prompts to prompt list
|
- [x] User Prompt: user can edit and save custom prompts to prompt list
|
||||||
- [ ] Prompt Template: create a new chat with pre-defined in-context prompts
|
- [ ] Prompt Template: create a new chat with pre-defined in-context prompts
|
||||||
- [ ] Share as image, share to ShareGPT
|
- [ ] Share as image, share to ShareGPT
|
||||||
- [ ] Desktop App with tauri
|
- [ ] Desktop App with tauri
|
||||||
- [ ] Self-host Model: support llama, alpaca, ChatGLM, BELLE etc.
|
- [ ] Self-host Model: support llama, alpaca, ChatGLM, BELLE etc.
|
||||||
- [ ] Plugins: support network search, calculator, any other apis etc. [#165](https://github.com/Yidadaa/ChatGPT-Next-Web/issues/165)
|
- [ ] Plugins: support network search, calculator, any other apis etc. [#165](https://github.com/Chenm4/ChatGPTForMyselfWeb/issues/165)
|
||||||
|
|
||||||
### Not in Plan
|
### Not in Plan
|
||||||
|
|
||||||
@ -60,13 +60,13 @@ One-Click to deploy well-designed ChatGPT web UI on Vercel.
|
|||||||
|
|
||||||
## 开发计划
|
## 开发计划
|
||||||
|
|
||||||
- [x] 为每个对话设置系统 Prompt [#138](https://github.com/Yidadaa/ChatGPT-Next-Web/issues/138)
|
- [x] 为每个对话设置系统 Prompt [#138](https://github.com/Chenm4/ChatGPTForMyselfWeb/issues/138)
|
||||||
- [x] 允许用户自行编辑内置 Prompt 列表
|
- [x] 允许用户自行编辑内置 Prompt 列表
|
||||||
- [ ] 提示词模板:使用预制上下文快速定制新对话
|
- [ ] 提示词模板:使用预制上下文快速定制新对话
|
||||||
- [ ] 分享为图片,分享到 ShareGPT
|
- [ ] 分享为图片,分享到 ShareGPT
|
||||||
- [ ] 使用 tauri 打包桌面应用
|
- [ ] 使用 tauri 打包桌面应用
|
||||||
- [ ] 支持自部署的大语言模型
|
- [ ] 支持自部署的大语言模型
|
||||||
- [ ] 插件机制,支持联网搜索、计算器、调用其他平台 api [#165](https://github.com/Yidadaa/ChatGPT-Next-Web/issues/165)
|
- [ ] 插件机制,支持联网搜索、计算器、调用其他平台 api [#165](https://github.com/Chenm4/ChatGPTForMyselfWeb/issues/165)
|
||||||
|
|
||||||
### 不会开发的功能
|
### 不会开发的功能
|
||||||
|
|
||||||
@ -154,7 +154,7 @@ Specify OpenAI organization ID.
|
|||||||
|
|
||||||
> [简体中文 > 如何进行二次开发](./README_CN.md#开发)
|
> [简体中文 > 如何进行二次开发](./README_CN.md#开发)
|
||||||
|
|
||||||
[](https://gitpod.io/#https://github.com/Yidadaa/ChatGPT-Next-Web)
|
[](https://gitpod.io/#https://github.com/Chenm4/ChatGPTForMyselfWeb)
|
||||||
|
|
||||||
Before starting development, you must create a new `.env.local` file at project root, and place your api key into it:
|
Before starting development, you must create a new `.env.local` file at project root, and place your api key into it:
|
||||||
|
|
||||||
@ -179,12 +179,12 @@ yarn dev
|
|||||||
### Docker (Recommended)
|
### Docker (Recommended)
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
docker pull yidadaa/chatgpt-next-web
|
docker pull Chenm4/ChatGPTForMyselfWeb
|
||||||
|
|
||||||
docker run -d -p 3000:3000 \
|
docker run -d -p 3000:3000 \
|
||||||
-e OPENAI_API_KEY="sk-xxxx" \
|
-e OPENAI_API_KEY="sk-xxxx" \
|
||||||
-e CODE="your-password" \
|
-e CODE="your-password" \
|
||||||
yidadaa/chatgpt-next-web
|
Chenm4/ChatGPTForMyselfWeb
|
||||||
```
|
```
|
||||||
|
|
||||||
You can start service behind a proxy:
|
You can start service behind a proxy:
|
||||||
@ -194,13 +194,13 @@ docker run -d -p 3000:3000 \
|
|||||||
-e OPENAI_API_KEY="sk-xxxx" \
|
-e OPENAI_API_KEY="sk-xxxx" \
|
||||||
-e CODE="your-password" \
|
-e CODE="your-password" \
|
||||||
-e PROXY_URL="http://localhost:7890" \
|
-e PROXY_URL="http://localhost:7890" \
|
||||||
yidadaa/chatgpt-next-web
|
Chenm4/ChatGPTForMyselfWeb
|
||||||
```
|
```
|
||||||
|
|
||||||
### Shell
|
### Shell
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
bash <(curl -s https://raw.githubusercontent.com/Yidadaa/ChatGPT-Next-Web/main/scripts/setup.sh)
|
bash <(curl -s https://raw.githubusercontent.com/Chenm4/ChatGPTForMyselfWeb/main/scripts/setup.sh)
|
||||||
```
|
```
|
||||||
|
|
||||||
## Screenshots
|
## Screenshots
|
||||||
@ -235,7 +235,7 @@ bash <(curl -s https://raw.githubusercontent.com/Yidadaa/ChatGPT-Next-Web/main/s
|
|||||||
|
|
||||||
### Contributor
|
### Contributor
|
||||||
|
|
||||||
[Contributors](https://github.com/Yidadaa/ChatGPT-Next-Web/graphs/contributors)
|
[Contributors](https://github.com/Chenm4/ChatGPTForMyselfWeb/graphs/contributors)
|
||||||
|
|
||||||
## LICENSE
|
## LICENSE
|
||||||
|
|
||||||
|
18
README_CN.md
18
README_CN.md
@ -5,11 +5,11 @@
|
|||||||
|
|
||||||
一键免费部署你的私人 ChatGPT 网页应用。
|
一键免费部署你的私人 ChatGPT 网页应用。
|
||||||
|
|
||||||
[演示 Demo](https://chat-gpt-next-web.vercel.app/) / [反馈 Issues](https://github.com/Yidadaa/ChatGPT-Next-Web/issues) / [加入 Discord](https://discord.gg/zrhvHCr79N) / [QQ 群](https://user-images.githubusercontent.com/16968934/228190818-7dd00845-e9b9-4363-97e5-44c507ac76da.jpeg) / [打赏开发者](https://user-images.githubusercontent.com/16968934/227772541-5bcd52d8-61b7-488c-a203-0330d8006e2b.jpg) / [Donate](#捐赠-donate-usdt)
|
[演示 Demo](https://chat-gpt-next-web.vercel.app/) / [反馈 Issues](https://github.com/Chenm4/ChatGPTForMyselfWeb/issues) / [加入 Discord](https://discord.gg/zrhvHCr79N) / [QQ 群](https://user-images.githubusercontent.com/16968934/228190818-7dd00845-e9b9-4363-97e5-44c507ac76da.jpeg) / [打赏开发者](https://user-images.githubusercontent.com/16968934/227772541-5bcd52d8-61b7-488c-a203-0330d8006e2b.jpg) / [Donate](#捐赠-donate-usdt)
|
||||||
|
|
||||||
[](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2FYidadaa%2FChatGPT-Next-Web&env=OPENAI_API_KEY&env=CODE&project-name=chatgpt-next-web&repository-name=ChatGPT-Next-Web)
|
[](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2FYidadaa%2FChatGPT-Next-Web&env=OPENAI_API_KEY&env=CODE&project-name=chatgpt-next-web&repository-name=ChatGPT-Next-Web)
|
||||||
|
|
||||||
[](https://gitpod.io/#https://github.com/Yidadaa/ChatGPT-Next-Web)
|
[](https://gitpod.io/#https://github.com/Chenm4/ChatGPTForMyselfWeb)
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
@ -60,7 +60,7 @@
|
|||||||
|
|
||||||
> 配置密码后,用户需要在设置页手动填写访问码才可以正常聊天,否则会通过消息提示未授权状态。
|
> 配置密码后,用户需要在设置页手动填写访问码才可以正常聊天,否则会通过消息提示未授权状态。
|
||||||
|
|
||||||
> **警告**:请务必将密码的位数设置得足够长,最好 7 位以上,否则[会被爆破](https://github.com/Yidadaa/ChatGPT-Next-Web/issues/518)。
|
> **警告**:请务必将密码的位数设置得足够长,最好 7 位以上,否则[会被爆破](https://github.com/Chenm4/ChatGPTForMyselfWeb/issues/518)。
|
||||||
|
|
||||||
本项目提供有限的权限控制功能,请在 Vercel 项目控制面板的环境变量页增加名为 `CODE` 的环境变量,值为用英文逗号分隔的自定义密码:
|
本项目提供有限的权限控制功能,请在 Vercel 项目控制面板的环境变量页增加名为 `CODE` 的环境变量,值为用英文逗号分隔的自定义密码:
|
||||||
|
|
||||||
@ -104,7 +104,7 @@ OpenAI 接口代理 URL,如果你手动配置了 openai 接口代理,请填
|
|||||||
|
|
||||||
点击下方按钮,开始二次开发:
|
点击下方按钮,开始二次开发:
|
||||||
|
|
||||||
[](https://gitpod.io/#https://github.com/Yidadaa/ChatGPT-Next-Web)
|
[](https://gitpod.io/#https://github.com/Chenm4/ChatGPTForMyselfWeb)
|
||||||
|
|
||||||
在开始写代码之前,需要在项目根目录新建一个 `.env.local` 文件,里面填入环境变量:
|
在开始写代码之前,需要在项目根目录新建一个 `.env.local` 文件,里面填入环境变量:
|
||||||
|
|
||||||
@ -124,12 +124,12 @@ OPENAI_API_KEY=<your api key here>
|
|||||||
> 注意:docker 版本在大多数时间都会落后最新的版本 1 到 2 天,所以部署后会持续出现“存在更新”的提示,属于正常现象。
|
> 注意:docker 版本在大多数时间都会落后最新的版本 1 到 2 天,所以部署后会持续出现“存在更新”的提示,属于正常现象。
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
docker pull yidadaa/chatgpt-next-web
|
docker pull Chenm4/ChatGPTForMyselfWeb
|
||||||
|
|
||||||
docker run -d -p 3000:3000 \
|
docker run -d -p 3000:3000 \
|
||||||
-e OPENAI_API_KEY="sk-xxxx" \
|
-e OPENAI_API_KEY="sk-xxxx" \
|
||||||
-e CODE="页面访问密码" \
|
-e CODE="页面访问密码" \
|
||||||
yidadaa/chatgpt-next-web
|
Chenm4/ChatGPTForMyselfWeb
|
||||||
```
|
```
|
||||||
|
|
||||||
你也可以指定 proxy:
|
你也可以指定 proxy:
|
||||||
@ -140,7 +140,7 @@ docker run -d -p 3000:3000 \
|
|||||||
-e CODE="页面访问密码" \
|
-e CODE="页面访问密码" \
|
||||||
--net=host \
|
--net=host \
|
||||||
-e PROXY_URL="http://127.0.0.1:7890" \
|
-e PROXY_URL="http://127.0.0.1:7890" \
|
||||||
yidadaa/chatgpt-next-web
|
Chenm4/ChatGPTForMyselfWeb
|
||||||
```
|
```
|
||||||
|
|
||||||
### 本地部署
|
### 本地部署
|
||||||
@ -148,7 +148,7 @@ docker run -d -p 3000:3000 \
|
|||||||
在控制台运行下方命令:
|
在控制台运行下方命令:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
bash <(curl -s https://raw.githubusercontent.com/Yidadaa/ChatGPT-Next-Web/main/scripts/setup.sh)
|
bash <(curl -s https://raw.githubusercontent.com/Chenm4/ChatGPTForMyselfWeb/main/scripts/setup.sh)
|
||||||
```
|
```
|
||||||
|
|
||||||
## 鸣谢
|
## 鸣谢
|
||||||
@ -159,7 +159,7 @@ bash <(curl -s https://raw.githubusercontent.com/Yidadaa/ChatGPT-Next-Web/main/s
|
|||||||
|
|
||||||
### 贡献者
|
### 贡献者
|
||||||
|
|
||||||
[见项目贡献者列表](https://github.com/Yidadaa/ChatGPT-Next-Web/graphs/contributors)
|
[见项目贡献者列表](https://github.com/Chenm4/ChatGPTForMyselfWeb/graphs/contributors)
|
||||||
|
|
||||||
## 开源协议
|
## 开源协议
|
||||||
|
|
||||||
|
@ -88,7 +88,7 @@ export function SideBar(props: { className?: string }) {
|
|||||||
<div className={styles["sidebar-header"]}>
|
<div className={styles["sidebar-header"]}>
|
||||||
<div className={styles["sidebar-title"]}>ChatGPT Next</div>
|
<div className={styles["sidebar-title"]}>ChatGPT Next</div>
|
||||||
<div className={styles["sidebar-sub-title"]}>
|
<div className={styles["sidebar-sub-title"]}>
|
||||||
Build your own AI assistant.
|
Build your own AI assistant. ------power by zhaoshengmu
|
||||||
</div>
|
</div>
|
||||||
<div className={styles["sidebar-logo"]}>
|
<div className={styles["sidebar-logo"]}>
|
||||||
<ChatGptIcon />
|
<ChatGptIcon />
|
||||||
|
@ -27,10 +27,10 @@ Docker 版本相当于稳定版,latest Docker 总是与 latest release version
|
|||||||
## 环境变量CODE是什么?必须设置吗?
|
## 环境变量CODE是什么?必须设置吗?
|
||||||
这是你自定义的访问密码,你可以选择:
|
这是你自定义的访问密码,你可以选择:
|
||||||
1. 不设置,删除该环境变量即可。谨慎:此时任何人可以访问你的项目。
|
1. 不设置,删除该环境变量即可。谨慎:此时任何人可以访问你的项目。
|
||||||
2. 部署项目时,设置环境变量CODE(支持多个密码逗号分隔)。设置访问密码后,用户需要在设置界面输入访问密码才可以使用。参见[相关说明](https://github.com/Yidadaa/ChatGPT-Next-Web/blob/main/README_CN.md#%E9%85%8D%E7%BD%AE%E9%A1%B5%E9%9D%A2%E8%AE%BF%E9%97%AE%E5%AF%86%E7%A0%81)
|
2. 部署项目时,设置环境变量CODE(支持多个密码逗号分隔)。设置访问密码后,用户需要在设置界面输入访问密码才可以使用。参见[相关说明](https://github.com/Chenm4/ChatGPTForMyselfWeb/blob/main/README_CN.md#%E9%85%8D%E7%BD%AE%E9%A1%B5%E9%9D%A2%E8%AE%BF%E9%97%AE%E5%AF%86%E7%A0%81)
|
||||||
|
|
||||||
## 为什么我部署的版本没有流式响应
|
## 为什么我部署的版本没有流式响应
|
||||||
> 相关讨论:[#386](https://github.com/Yidadaa/ChatGPT-Next-Web/issues/386)
|
> 相关讨论:[#386](https://github.com/Chenm4/ChatGPTForMyselfWeb/issues/386)
|
||||||
|
|
||||||
如果你使用 ngnix 反向代理,需要在配置文件中增加下列代码:
|
如果你使用 ngnix 反向代理,需要在配置文件中增加下列代码:
|
||||||
```
|
```
|
||||||
@ -138,10 +138,10 @@ OpenAI只接受指定地区的信用卡(中国信用卡无法使用)。一
|
|||||||
- 开通 ChatGPT Plus 不代表有 GPT-4 权限,两者毫无关系。
|
- 开通 ChatGPT Plus 不代表有 GPT-4 权限,两者毫无关系。
|
||||||
|
|
||||||
## 如何使用 Azure OpenAI 接口
|
## 如何使用 Azure OpenAI 接口
|
||||||
请参考:[#371](https://github.com/Yidadaa/ChatGPT-Next-Web/issues/371)
|
请参考:[#371](https://github.com/Chenm4/ChatGPTForMyselfWeb/issues/371)
|
||||||
|
|
||||||
## 为什么我的 Token 消耗得这么快?
|
## 为什么我的 Token 消耗得这么快?
|
||||||
> 相关讨论:[#518](https://github.com/Yidadaa/ChatGPT-Next-Web/issues/518)
|
> 相关讨论:[#518](https://github.com/Chenm4/ChatGPTForMyselfWeb/issues/518)
|
||||||
- 如果你有 GPT 4 的权限,并且日常在使用 GPT 4 api,那么由于 GPT 4 价格是 GPT 3.5 的 15 倍左右,你的账单金额会急速膨胀;
|
- 如果你有 GPT 4 的权限,并且日常在使用 GPT 4 api,那么由于 GPT 4 价格是 GPT 3.5 的 15 倍左右,你的账单金额会急速膨胀;
|
||||||
- 如果你在使用 GPT 3.5,并且使用频率并不高,仍然发现自己的账单金额在飞快增加,那么请马上按照以下步骤排查:
|
- 如果你在使用 GPT 3.5,并且使用频率并不高,仍然发现自己的账单金额在飞快增加,那么请马上按照以下步骤排查:
|
||||||
- 去 openai 官网查看你的 api key 消费记录,如果你的 token 每小时都有消费,并且每次都消耗了上万 token,那你的 key 一定是泄露了,请立即删除重新生成。**不要在乱七八糟的网站上查余额。**
|
- 去 openai 官网查看你的 api key 消费记录,如果你的 token 每小时都有消费,并且每次都消耗了上万 token,那你的 key 一定是泄露了,请立即删除重新生成。**不要在乱七八糟的网站上查余额。**
|
||||||
|
@ -25,10 +25,10 @@ The Docker version is equivalent to the stable version, and the latest Docker is
|
|||||||
## What is the environment variable CODE? Is it necessary to set it?
|
## What is the environment variable CODE? Is it necessary to set it?
|
||||||
This is your custom access password, you can choose:
|
This is your custom access password, you can choose:
|
||||||
1. Do not set it, delete the environment variable. Be cautious: anyone can access your project at this time.
|
1. Do not set it, delete the environment variable. Be cautious: anyone can access your project at this time.
|
||||||
2. When deploying the project, set the environment variable CODE (supports multiple passwords, separated by commas). After setting the access password, users need to enter the access password in the settings page to use it. See [related instructions](https://github.com/Yidadaa/ChatGPT-Next-Web#access-password)
|
2. When deploying the project, set the environment variable CODE (supports multiple passwords, separated by commas). After setting the access password, users need to enter the access password in the settings page to use it. See [related instructions](https://github.com/Chenm4/ChatGPTForMyselfWeb#access-password)
|
||||||
|
|
||||||
## Why doesn't the version I deployed have streaming response
|
## Why doesn't the version I deployed have streaming response
|
||||||
> Related discussion: [#386](https://github.com/Yidadaa/ChatGPT-Next-Web/issues/386)
|
> Related discussion: [#386](https://github.com/Chenm4/ChatGPTForMyselfWeb/issues/386)
|
||||||
|
|
||||||
If you use nginx reverse proxy, you need to add the following code to the configuration file:
|
If you use nginx reverse proxy, you need to add the following code to the configuration file:
|
||||||
```
|
```
|
||||||
@ -123,10 +123,10 @@ OpenAI only accepts credit cards from designated regions (Chinese credit cards c
|
|||||||
Wait for email updates afterwards.
|
Wait for email updates afterwards.
|
||||||
|
|
||||||
## How to use the Azure OpenAI interface
|
## How to use the Azure OpenAI interface
|
||||||
Please refer to: [#371](https://github.com/Yidadaa/ChatGPT-Next-Web/issues/371)
|
Please refer to: [#371](https://github.com/Chenm4/ChatGPTForMyselfWeb/issues/371)
|
||||||
|
|
||||||
## Why is my Token consumed so fast?
|
## Why is my Token consumed so fast?
|
||||||
> Related discussion: [#518](https://github.com/Yidadaa/ChatGPT-Next-Web/issues/518)
|
> Related discussion: [#518](https://github.com/Chenm4/ChatGPTForMyselfWeb/issues/518)
|
||||||
- If you have GPT-4 access and use GPT-4 API regularly, your bill will increase rapidly since GPT-4 pricing is about 15 times higher than GPT-3.5;
|
- If you have GPT-4 access and use GPT-4 API regularly, your bill will increase rapidly since GPT-4 pricing is about 15 times higher than GPT-3.5;
|
||||||
- If you are using GPT-3.5 and not using it frequently, but still find your bill increasing fast, please troubleshoot immediately using these steps:
|
- If you are using GPT-3.5 and not using it frequently, but still find your bill increasing fast, please troubleshoot immediately using these steps:
|
||||||
- Check your API key consumption record on the OpenAI website; if your token is consumed every hour and each time consumes tens of thousands of tokens, your key must have been leaked. Please delete it and regenerate it immediately. **Do not check your balance on random websites.**
|
- Check your API key consumption record on the OpenAI website; if your token is consumed every hour and each time consumes tens of thousands of tokens, your key must have been leaked. Please delete it and regenerate it immediately. **Do not check your balance on random websites.**
|
||||||
|
@ -51,7 +51,7 @@ if ! command -v node >/dev/null || ! command -v git >/dev/null || ! command -v y
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Clone the repository and install dependencies
|
# Clone the repository and install dependencies
|
||||||
git clone https://github.com/Yidadaa/ChatGPT-Next-Web
|
git clone https://github.com/Chenm4/ChatGPTForMyselfWeb
|
||||||
cd ChatGPT-Next-Web
|
cd ChatGPT-Next-Web
|
||||||
yarn install
|
yarn install
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user