Compare commits

..

7 Commits

Author SHA1 Message Date
LovelyGuYiMeng
ce2495a72f Merge branch 'ChatGPTNextWeb:main' into main 2024-11-01 17:21:34 +08:00
LovelyGuYiMeng
a79f918e2f Merge branch 'ChatGPTNextWeb:main' into main 2024-10-31 14:24:33 +08:00
LovelyGuYiMeng
acd5549398 Merge branch 'ChatGPTNextWeb:main' into main 2024-10-31 00:37:14 +08:00
LovelyGuYiMeng
0655110644 Merge branch 'ChatGPTNextWeb:main' into main 2024-10-30 17:15:37 +08:00
LovelyGuYiMeng
fd3c1329af Merge branch 'ChatGPTNextWeb:main' into main 2024-10-29 20:12:46 +08:00
LovelyGuYiMeng
69931338dd Merge branch 'ChatGPTNextWeb:main' into main 2024-10-29 00:34:11 +08:00
LovelyGuYiMeng
648f11d72d Add "vl" to visionKeywords 2024-10-26 16:16:30 +08:00
10 changed files with 1 additions and 35 deletions

View File

@@ -397,9 +397,6 @@ yarn dev
> [简体中文 > 如何部署到私人服务器](./README_CN.md#部署)
### BT Install
> [简体中文 > 如何通过宝塔一键部署](./docs/bt-cn.md)
### Docker (Recommended)
```shell

View File

@@ -264,9 +264,6 @@ BASE_URL=https://b.nextweb.fun/api/proxy
## 部署
### 宝塔面板部署
> [简体中文 > 如何通过宝塔一键部署](./docs/bt-cn.md)
### 容器部署 (推荐)
> Docker 版本需要在 20 及其以上,否则会提示找不到镜像。

View File

@@ -255,6 +255,7 @@ export function isVisionModel(model: string) {
// Note: This is a better way using the TypeScript feature instead of `&&` or `||` (ts v5.5.0-dev.20240314 I've been using)
const visionKeywords = [
"vl",
"vision",
"claude-3",
"gemini-1.5-pro",

View File

@@ -1,29 +0,0 @@
# 宝塔面板 的部署说明
## 拥有自己的宝塔
当你需要通过 宝塔面板 部署本项目之前,需要在服务器上先安装好 宝塔面板工具。 接下来的 部署流程 都建立在已有宝塔面板的前提下。宝塔安装请参考 ([宝塔官网](https://www.bt.cn/new/download.html))
> 注意:本项目需要宝塔面板版本 9.2.0 及以上
## 一键安装
![bt-install-1](./images/bt/bt-install-1.jpeg)
1. 在 宝塔面板 -> Docker -> 应用商店 页面,搜索 ChatGPT-Next-Web 找到本项目的docker应用
2. 点击 安装 开始部署本项目
![bt-install-2](./images/bt/bt-install-2.jpeg)
1. 在项目配置页,根据要求开始配置环境变量;
2. 如勾选 允许外部访问 配置,请注意为配置的 web端口 开放安全组端口访问权限;
3. 请确保你添加了正确的 Open Api Key否则无法使用当配置 OpenAI官方 提供的key(国内无法访问),请配置代理地址;
4. 建议配置 访问权限密码,否则部署后所有人均可使用已配置的 Open Api Key(当允许外部访问时)
5. 点击 确认 开始自动部署。
## 如何访问
![bt-install-3](./images/bt/bt-install-3.jpeg)
通过根据 服务器IP地址 和配置的 web端口 http://$(host):$(port),在浏览器中打开 ChatGPT-Next-Web。
![bt-install-4](./images/bt/bt-install-4.jpeg)
若配置了 访问权限密码,访问大模型前需要登录,请点击 登录,获取访问权限。
![bt-install-5](./images/bt/bt-install-5.jpeg)
![bt-install-6](./images/bt/bt-install-6.jpeg)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 161 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 196 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 117 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 159 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 74 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 146 KiB