From e945e84edf7771754e0f135f68c5ee675e97fe10 Mon Sep 17 00:00:00 2001 From: Archer <545436317@qq.com> Date: Fri, 15 Aug 2025 22:50:11 +0800 Subject: [PATCH] doc (#5474) --- document/content/docs/upgrading/4-12/4121.mdx | 16 ++++++++++++++++ document/data/doc-last-modified.json | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/document/content/docs/upgrading/4-12/4121.mdx b/document/content/docs/upgrading/4-12/4121.mdx index 7a8ccf605..a73545102 100644 --- a/document/content/docs/upgrading/4-12/4121.mdx +++ b/document/content/docs/upgrading/4-12/4121.mdx @@ -14,6 +14,22 @@ description: 'FastGPT V4.12.1 更新说明' - Sandbox 无需更新 - AIProxy 无需更新 +### 2. 执行升级脚本 + +该脚本仅需商业版用户执行。 + +从任意终端,发起 1 个 HTTP 请求。其中 `{{rootkey}}` 替换成环境变量里的 `rootkey`;`{{host}}` 替换成**FastGPT 域名**。 + +```bash +curl --location --request POST 'https://{{host}}/api/admin/initv4121' \ +--header 'rootkey: {{rootkey}}' \ +--header 'Content-Type: application/json' +``` + +**脚本功能** + +1. 将历史对话日志整理成新的日志看板数据。 + ## 🚀 新增内容 1. Prompt 自动生成和优化。 diff --git a/document/data/doc-last-modified.json b/document/data/doc-last-modified.json index 0a4cb0e1d..f3c6f84fa 100644 --- a/document/data/doc-last-modified.json +++ b/document/data/doc-last-modified.json @@ -103,7 +103,7 @@ "document/content/docs/upgrading/4-11/4110.mdx": "2025-08-05T23:20:39+08:00", "document/content/docs/upgrading/4-11/4111.mdx": "2025-08-07T22:49:09+08:00", "document/content/docs/upgrading/4-12/4120.mdx": "2025-08-12T22:45:19+08:00", - "document/content/docs/upgrading/4-12/4121.mdx": "2025-08-15T18:43:41+08:00", + "document/content/docs/upgrading/4-12/4121.mdx": "2025-08-15T22:45:13+08:00", "document/content/docs/upgrading/4-8/40.mdx": "2025-08-02T19:38:37+08:00", "document/content/docs/upgrading/4-8/41.mdx": "2025-08-02T19:38:37+08:00", "document/content/docs/upgrading/4-8/42.mdx": "2025-08-02T19:38:37+08:00",