Skip to content

Commit

Permalink
增加CHAT_ALL_THROUGH_OPENAI=1,让所有模型都走openai格式。
Browse files Browse the repository at this point in the history
  • Loading branch information
vual committed Jul 12, 2024
1 parent 4f85fa9 commit 4bb3548
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@

### 版本
#### 无后台:
- 更新日期:2024.07.05
- 更新日期:2024.07.12
- 版本号:
- 3.7.24,完整功能,需要授权码
- 3.7.25,完整功能,需要授权码
- 3.7.21-arm,arm64版,完整功能,需要授权码
- 3.7.23-ce,社区版(免费版),不需要授权码,功能有限制,详细看后面说明
- **Demo演示地址**
Expand Down Expand Up @@ -284,14 +284,14 @@
### 无后台版本部署和启动
##### 1.拉取镜像
```shell
docker pull registry.cn-hangzhou.aliyuncs.com/ann-chat/chatgpt-next-web-pro:3.7.24
docker pull registry.cn-hangzhou.aliyuncs.com/ann-chat/chatgpt-next-web-pro:3.7.25
```
##### 2.启动应用
```shell
docker run -d -p 3000:3000 \
-e OPENAI_API_KEY="sk-xxxxxx" \
-e AUTHORIZE_CODE="授权码" \
registry.cn-hangzhou.aliyuncs.com/ann-chat/chatgpt-next-web-pro:3.7.24
registry.cn-hangzhou.aliyuncs.com/ann-chat/chatgpt-next-web-pro:3.7.25
```
- 3000:3000是端口映射,前面的可以自定义,后面的是容器内部端口,不可更改。比如可以改成:3030:3000, 3080:3000
- 如果你有chatgpt中转地址,则加上 -e BASE_URL="https://xxxxxx" \ ,没加这个参数,默认请求到 https://api.openai.com
Expand Down

0 comments on commit 4bb3548

Please sign in to comment.