Skip to content

Commit

Permalink
doc
Browse files Browse the repository at this point in the history
  • Loading branch information
c121914yu committed Feb 4, 2025
1 parent 9ac8908 commit 2f6fca1
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions docSite/content/zh-cn/docs/development/upgrading/4820.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,19 @@ weight: 804

## 更新指南

### 1. 更新环境变量
### 1. 做好数据库备份

### 2. 更新环境变量

如果有很早版本用户,配置了`ONEAPI_URL`的,需要统一改成`OPENAI_BASE_URL`

### 1. 更新镜像:
### 3. 更新镜像:

- 更新 fastgpt 镜像 tag: v4.8.20
- 更新 fastgpt-pro 商业版镜像 tag: v4.8.20
- Sandbox 镜像无需更新

### 2. 运行升级脚本
### 4. 运行升级脚本

从任意终端,发起 1 个 HTTP 请求。其中 {{rootkey}} 替换成环境变量里的 `rootkey`;{{host}} 替换成**FastGPT 域名**

Expand All @@ -26,7 +31,7 @@ curl --location --request POST 'https://{{host}}/api/admin/initv4820' \
--header 'Content-Type: application/json'
```

自动把原配置文件的模型加载到新版模型配置中
脚本会自动把原配置文件的模型加载到新版模型配置中。

## 完整更新内容

Expand Down

0 comments on commit 2f6fca1

Please sign in to comment.