mirror of
https://github.com/labring/FastGPT.git
synced 2025-10-15 15:41:05 +00:00

* refactor: remove ModelProviderIdType and update related types (#5549) * perf: model provider * fix eval create split (#5570) * git rebase --continuedoc * add more variable types (#5540) * variable types * password * time picker * internal var * file * fix-test * time select default value & range * password & type render * fix * fix build * fix * move method * split date select * icon * perf: variable code * prompt editor add markdown plugin (#5556) * editor markdown * fix build * pnpm lock * add props * update code * fix list * editor ui * fix variable reset (#5586) * perf: variables type code * customize lexical indent (#5588) * perf: multiple selector * perf: tab plugin * doc * refactor: update workflow constants to use ToolTypeEnum (#5491) * refactor: replace FlowNodeTemplateTypeEnum with string literals in workflow templates * perf: tool type --------- Co-authored-by: archer <545436317@qq.com> * update doc * fix: make table's row more natural while dragging it (#5596) * feat: add APIGetTemplate function and refactor template fetching logic (#5498) * feat: add APIGetTemplate function and refactor template fetching logic * chore: adjust the code * chore: update sdk --------- Co-authored-by: FinleyGe <m13203533462@163.com> * perf init system * doc * remove log * remove i18n * perf: variables render --------- Co-authored-by: Ctrlz <143257420+ctrlz526@users.noreply.github.com> Co-authored-by: heheer <heheer@sealos.io> Co-authored-by: 伍闲犬 <whoeverimf5@gmail.com> Co-authored-by: FinleyGe <m13203533462@163.com>
54 lines
1.5 KiB
Plaintext
54 lines
1.5 KiB
Plaintext
---
|
||
title: 'V4.12.1(包含升级脚本)'
|
||
description: 'FastGPT V4.12.1 更新说明, 发布于 2025-8-18'
|
||
---
|
||
|
||
## 更新指南
|
||
|
||
### 1. 更新镜像:
|
||
|
||
- 更新 FastGPT 镜像tag: v4.12.1-fix
|
||
- 更新 FastGPT 商业版镜像tag: v4.12.1
|
||
- 更新 fastgpt-plugin 镜像 tag: v0.1.10
|
||
- mcp_server 无需更新
|
||
- 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 自动生成和优化。
|
||
2. 增加`SIGNOZ_STORE_LEVEL`参数,可以控制 Signoz 日志存储级别。
|
||
|
||
## ⚙️ 优化
|
||
|
||
1. 工作流响应优化,主动指定响应值进入历史记录,而不是根据 key 决定。
|
||
2. 避免工作流中,变量替换导致的死循环或深度递归风险。
|
||
3. 对话日志导出,固定导出对话详情。
|
||
4. 分页器 UI 优化。
|
||
|
||
## 🐛 修复
|
||
|
||
1. 工具密钥输入,boolean 值无法通过 form 校验。
|
||
2. 对话页,pane切换可能导致数据异常。
|
||
3. 对话日志看板数据表索引不正确。
|
||
|
||
## 🔨 工具更新
|
||
|
||
1. 支持对系统工具单独配置 Tool description,更利于模型理解。
|