Releases: labring/FastGPT
Releases · labring/FastGPT
V4.9.7-fix2
变更内容
- 临时移除API调用时候知识库 cite 标记。 @newfish-cmyk
- 增加严格的知识库 cite 鉴权。 @newfish-cmyk
- 优化对话日志 list 接口,适配单个对话框,大量对话的场景。 @newfish-cmyk
- 添加Redis Health Check by @Hwting
- 修复应用列表,权限配置可能出现 index 刷新问题。 @FinleyGe
Full Changelog: v4.9.7-fix...v4.9.7-fix2
V4.9.7-fix
V4.9.7
功能预览
知识库回答追溯 | 工作流对齐 |
---|---|
![]() |
![]() |
升级指南
1. 做好数据备份
2. 更新镜像 tag
- 更新 FastGPT 镜像 tag: v4.9.7
- 更新 FastGPT 商业版镜像 tag: v4.9.7
- mcp_server 无需更新
- Sandbox 无需更新
- 更新 AIProxy 镜像 tag: v0.1.8
🚀 新增内容
- 知识库回答时,回答段落末尾增加引用。 @newfish-cmyk
- MCP 工具支持 HTTP Streamable 协议。 @newfish-cmyk
- MCP server 支持编辑工具名,适配部分客户端不支持中文名问题。 @newfish-cmyk
- 工作流右键可自动对齐节点(工具调用会偏移)。 @c121914yu
- 支持生产环境自定义
config.json
路径。 @shikaiwei1 - API 调用,支持传递一个特殊 chatId(
NO_RECORD_HISTORIES
),使得系统不会进行历史记录存储。 @gaord - 支持 Rerank 模型按量计费。 @c121914yu
- 套餐兑换码功能 @I-Info
- 支付宝支付 @gggaaallleee
- 短链数据埋点。 @dreamer6680
- 新增 Jina AI 模型系统配置。 @c121914yu
⚙️ 优化
- Doc2x 文档解析,增加报错信息捕获,增加超时时长。 @c121914yu
- 调整 PG vector 查询语句,强制使用向量索引。 @c121914yu
- 对话时间统计方式调整,准确返回工作流整体运行时间。 @c121914yu
- 语音识别时,从 ai_proxy 获取音频准确时长。 @c121914yu
- AI 模型 Token 值均优先采用 API usage,确保 tokens 值准确,若为空,则再采用 GPT3.5 的估算方式。可减少 Tokens 计算量以及提高 Tokens 计数准确性。 @c121914yu
🐛 修复
- 文件上传分块大小限制,避免超出 MongoDB 限制。 @c121914yu
- 使用记录仪表盘,无法获取指定成员的使用统计。 @c121914yu
- 仪表盘接口,因未考虑时区问题,统计异常。 @c121914yu
- LLM 模型测试接口,无法测试未启用的 LLM。同时修复,模型测试接口会把模型自定义请求地址去除问题。 @c121914yu
- Copy app 权限问题。 @FinleyGe
- 导出对话记录,限制单条对话记录消息上限 1000 组,避免导出失败。 @newfish-cmyk
- 工作流变量下一段文本仍是工作流变量,不触发渲染。 @newfish-cmyk
- 调试知识库检索模块,提示无权操作知识库。 @newfish-cmyk
- 文本内容提取节点,默认值赋值逻辑。 @newfish-cmyk
- 分享链接中,会强制返回嵌套应用中的引用内容。 @c121914yu
- 知识库集合元数据过滤时,不同知识库的同名标签使用 $and 筛选无法获取结果。 @newfish-cmyk
What's Changed
- Update yml by @c121914yu in #4587
- update doc by @c121914yu in #4589
- perf: doc2x parse by @c121914yu in #4591
- Llms 1 by @dreamer6680 in #4593
- docs: update websync.md by @I-Info in #4588
- fix: mongodb file oversize 160MB by @c121914yu in #4594
- perf: hnsw query by @c121914yu in #4596
- fix: timezone count by @c121914yu in #4604
- fix: action by @c121914yu in #4605
- chore(deps): bump torch from 2.4.0 to 2.6.0 in /plugins/model/llm-ChatGLM2 by @dependabot in #4597
- Update mcp_server.md by @Deepturn in #4606
- perf: init model by @c121914yu in #4610
- Test select by @c121914yu in #4611
- docs: sso oauth2.0 standard doc by @FinleyGe in #4612
- fix: app copy api by @FinleyGe in #4614
- mcp server tool alias by @newfish-cmyk in #4621
- test: Add unit test for projects/app/src/pages/api/support/mcp/server/toolList.ts by @gru-agent in #4623
- fix 4.9.6 by @newfish-cmyk in #4631
- support mcp client streamable http by @newfish-cmyk in #4650
- add answer quote number by @newfish-cmyk in #4658
- fix: collabrator by @FinleyGe in #4660
- V4.9.7 feature by @c121914yu in #4669
- feat: get tokens from api usage by @c121914yu in #4671
- fix rerank model undefined by @newfish-cmyk in #4674
- test: Add unit test for projects/app/src/web/common/utils/eventbus.ts by @gru-agent in #4667
- 更新Oceanbase镜像版本;修复容器部署时在healthcheck中出现的问题 by @Amaranterre in #4676
- fix same tag in different datasets (#4673) by @c121914yu in #4680
- fix: chat quote number by @newfish-cmyk in #4679
- perf: Add tool call prompt by @c121914yu in #4683
Full Changelog: v4.9.6...v4.9.7
V4.9.7-alpha
该版本主要以修复内容为主,集中处理了一些比较影响使用的问题。
🚀 新增内容
- MCP 工具支持 HTTP Streamable 协议。 @newfish-cmyk
- MCP server 支持编辑工具名,适配部分客户端不支持中文名问题。 @newfish-cmyk
- 工作流右键可自动对齐节点。 @c121914yu
- 支持生产环境自定义
config.json
路径。 @shikaiwei1 - API 调用,支持传递一个特殊 chatId(
NO_RECORD_HISTORIES
),使得系统不会进行历史记录存储。 @gaord - 支持 Rerank 模型按量计费。 @c121914yu
- 套餐兑换码功能 @I-Info
- 支付宝支付 @gggaaallleee
⚙️ 优化
- Doc2x 文档解析,增加报错信息捕获,增加超时时长。 @c121914yu
- 调整 PG vector 查询语句,强制使用向量索引。 @c121914yu
- 对话时间统计,准确返回工作流整体运行时间。 @c121914yu
- 从 ai_proxy 获取音频解析时长。 @c121914yu
🐛 修复
- 文件上传分块大小限制,避免超出 MongoDB 限制。 @c121914yu
- 使用记录仪表盘,无法获取指定成员的使用统计。 @c121914yu
- 仪表盘接口,因未考虑时区问题,统计异常。 @c121914yu
- LLM 模型测试接口,无法测试未启用的 LLM。同时修复,模型测试接口会把模型自定义请求地址去除问题。 @c121914yu
- Copy app 权限问题。 @FinleyGe
- 导出对话记录,限制单条对话记录消息上限 1000 组,避免导出失败。 @newfish-cmyk
- 工作流变量下一段文本仍是工作流变量,不触发渲染。 @newfish-cmyk
- 调试知识库检索模块,提示无权操作知识库。 @newfish-cmyk
- 文本内容提取节点,默认值赋值逻辑。 @newfish-cmyk
- 分享链接中,会强制返回嵌套应用中的引用内容。 @c121914yu
What's Changed
- Update yml by @c121914yu in #4587
- update doc by @c121914yu in #4589
- perf: doc2x parse by @c121914yu in #4591
- Llms 1 by @dreamer6680 in #4593
- docs: update websync.md by @I-Info in #4588
- fix: mongodb file oversize 160MB by @c121914yu in #4594
- perf: hnsw query by @c121914yu in #4596
- fix: timezone count by @c121914yu in #4604
- fix: action by @c121914yu in #4605
- chore(deps): bump torch from 2.4.0 to 2.6.0 in /plugins/model/llm-ChatGLM2 by @dependabot in #4597
- Update mcp_server.md by @Deepturn in #4606
- perf: init model by @c121914yu in #4610
- Test select by @c121914yu in #4611
- docs: sso oauth2.0 standard doc by @FinleyGe in #4612
- fix: app copy api by @FinleyGe in #4614
- mcp server tool alias by @newfish-cmyk in #4621
- test: Add unit test for projects/app/src/pages/api/support/mcp/server/toolList.ts by @gru-agent in #4623
- fix 4.9.6 by @newfish-cmyk in #4631
- support mcp client streamable http by @newfish-cmyk in #4650
- add answer quote number by @newfish-cmyk in #4658
- fix: collabrator by @FinleyGe in #4660
- V4.9.7 feature by @c121914yu in #4669
Full Changelog: v4.9.6...v4.9.7-alpha
V4.9.6
功能预览
MCP 导入工具
![]() |
![]() |
![]() |
MCP 对外提供 FastGPT 应用
![]() |
![]() |
升级指南
1. 做好数据备份
2. 部署 MCP server 服务
在docker-compose.yml
文件中,加入fastgpt-mcp-server
服务:
fastgpt-mcp-server:
container_name: fastgpt-mcp-server
image: ghcr.io/labring/fastgpt-mcp_server:v4.9.6
ports:
- 3005:3000
networks:
- fastgpt
restart: always
environment:
- FASTGPT_ENDPOINT=http://fastgpt:3000
3. 修改 FastGPT 容器环境变量
修改config.json
配置文件,增加: "feconfigs.mcpServerProxyEndpoint": "fastgpt-mcp-server 的访问地址"
, 末尾不要携带/,例如:
{
"feConfigs": {
"lafEnv": "https://laf.dev",
"mcpServerProxyEndpoint": "https://mcp.fastgpt.cn"
}
}
4. 更新镜像 tag
- 更新 FastGPT 镜像 tag: v4.9.6
- 更新 FastGPT 商业版镜像 tag: v4.9.6
- 更新 Sandbox 镜像 tag: v4.9.6
- 增加 FastGPT mcp server 镜像 tag: v4.9.6
- AIProxy 无需更新
🚀 新增内容
- 以 MCP 方式对外提供应用调用。 @c121914yu
- 支持以 MCP SSE 协议创建工具。 @newfish-cmyk
- 批量执行节点支持交互节点,可实现每一轮循环都人工参与。 @sd0ric4
- 增加工作台二级菜单,合并工具箱。 @newfish-cmyk
- 增加 grok3、GPT4.1、o系列、Gemini2.5 模型系统配置。 @c121914yu
⚙️ 优化
- 工作流数据类型转化鲁棒性和兼容性增强。 @gaord @c121914yu
- Python sandbox 代码,支持大数据输入。 @fforever14 @gggaaallleee
- 路径组件支持配置最后一步是否可点击。 @c121914yu
- 知识库工具调用结果,自动补充图片域名。 @c121914yu
- Github action runner 升级成 unbuntu24 @sd0ric4
- 去除飞书、公众号等三方渠道,回复时,可能前后多一个换行的问题。 @c121914yu
- 调整分块策略,大表格时,不进行超大块合并,而是独立拆块。 @c121914yu
- Iframe 嵌套组件,内置允许麦克风声明。 @dreamer6680
🐛 修复
- 修复子工作流包含交互节点时,未成功恢复子工作流所有数据。 @c121914yu
- completion v1 接口,未接受 interactive 参数,导致 API 调用失败。 @sd0ric4
- 连续工具调用,上下文截断异常 @c121914yu
What's Changed
- add system model by @c121914yu in #4540
- fix: image source by @zijiren233 in #4535
- test: add opreationLog mock by @FinleyGe in #4542
- chore(deps): bump @nestjs/common from 10.4.15 to 10.4.16 by @dependabot in #4541
- 变量更新组件处理字符串数组错误修复 by @gaord in #4523
- Test sandbox by @c121914yu in #4547
- fix: app/dataset create by @FinleyGe in #4554
- fix: update workflow to use ubuntu-24.04 for consistency across all jobs by @sd0ric4 in #4553
- docs: team&roles&permissions and intro by @FinleyGe in #4550
- test: concurrent test by @FinleyGe in #4548
- V4.9.6 feature by @c121914yu in #4565
- V4.9.6 dev by @c121914yu in #4566
- Fix: mcp_server build by @c121914yu in #4569
- fix: mcp_server docker file by @c121914yu in #4570
- update mcp doc by @c121914yu in #4572
- Updated package.json to add js-yaml dependencies and configure husky hooks to generate documentation; New llms-full.txt by @dreamer6680 in #4562
- perf: llm.txt file by @c121914yu in #4574
- fix: llms encode by @c121914yu in #4575
- fix: tool call history by @c121914yu in #4576
- Update doc images by @c121914yu in #4577
- Fixed: Updated the iframe allow property in the SelectUsingWayModal by @dreamer6680 in #4583
- fix: ob docker compose file by @I-Info in #4580
- perf: text splitter by @c121914yu in #4584
Full Changelog: v4.9.5...v4.9.6
V4.9.6-alpha
功能预览
MCP 导入工具
![]() |
![]() |
![]() |
MCP 对外提供 FastGPT 应用
![]() |
![]() |
升级指南
1. 做好数据备份
2. 部署 MCP server 服务
在docker-compose.yml
文件中,加入fastgpt-mcp-server
服务:
fastgpt-mcp-server:
container_name: fastgpt-mcp-server
image: ghcr.io/labring/fastgpt-mcp_server:latest
ports:
- 3005:3000
networks:
- fastgpt
restart: always
environment:
- FASTGPT_ENDPOINT=http://fastgpt:3000
3. 修改 FastGPT 容器环境变量
修改config.json
配置文件,增加: "feconfigs.mcpServerProxyEndpoint": "fastgpt-mcp-server 的访问地址"
, 末尾不要携带/,例如:
{
"feConfigs": {
"lafEnv": "https://laf.dev",
"mcpServerProxyEndpoint": "https://mcp.fastgpt.cn"
}
}
4. 更新镜像 tag
- 更新 FastGPT 镜像 tag: v4.9.6-alpha
- 更新 FastGPT 商业版镜像 tag: v4.9.6-alpha
- 更新 Sandbox tag: v4.9.6-alpha
- AIProxy 无需更新
🚀 新增内容
- 以 MCP 方式对外提供应用调用。 @c121914yu
- 支持以 MCP SSE 协议创建工具。 @newfish-cmyk
- 批量执行节点支持交互节点,可实现每一轮循环都人工参与。 @sd0ric4
- 增加工作台二级菜单,合并工具箱。 @newfish-cmyk
- 增加 grok3、GPT4.1、Gemini2.5 模型系统配置。 @c121914yu
⚙️ 优化
- 工作流数据类型转化鲁棒性和兼容性增强。 @gaord @c121914yu
- Python sandbox 代码,支持大数据输入。 @fforever14 @gggaaallleee
- 路径组件支持配置最后一步是否可点击。 @c121914yu
- 知识库工具调用结果,自动补充图片域名。 @c121914yu
- Github action runner 升级成 unbuntu24 @sd0ric4
🐛 修复
- 修复子工作流包含交互节点时,未成功恢复子工作流所有数据。 @c121914yu
- completion v1 接口,未接受 interactive 参数,导致 API 调用失败。 @sd0ric4
What's Changed
- add system model by @c121914yu in #4540
- fix: image source by @zijiren233 in #4535
- test: add opreationLog mock by @FinleyGe in #4542
- chore(deps): bump @nestjs/common from 10.4.15 to 10.4.16 by @dependabot in #4541
- 变量更新组件处理字符串数组错误修复 by @gaord in #4523
- Test sandbox by @c121914yu in #4547
- fix: app/dataset create by @FinleyGe in #4554
- fix: update workflow to use ubuntu-24.04 for consistency across all jobs by @sd0ric4 in #4553
- docs: team&roles&permissions and intro by @FinleyGe in #4550
- test: concurrent test by @FinleyGe in #4548
- V4.9.6 feature by @c121914yu in #4565
Full Changelog: v4.9.5...v4.9.6-alpha
V4.9.5
升级指南
1. 做好数据备份
2. 更新镜像 tag
- 更新 FastGPT 镜像 tag: v4.9.5
- 更新 FastGPT 商业版镜像 tag: v4.9.5
- Sandbox 无需更新
- AIProxy 无需更新
🚀 新增内容
- 团队成员权限细分,可分别控制是否可创建在根目录应用/知识库以及 API Key @FinleyGe
- 支持交互节点在嵌套工作流中使用。 @sd0ric4
- 团队成员操作日志。 @gggaaallleee
- 用户输入节点支持多选框。 @mmagi
⚙️ 优化
- 繁体中文翻译。@PeterDaveHello
- Arm 镜像打包 @zijiren233
🐛 修复
- password 检测规则错误。 @c121914yu
- 分享链接无法隐藏知识库检索结果。 @newfish-cmyk
- IOS 低版本正则兼容问题。 @I-Info
- 修复问答提取队列错误后,计数器未清零问题,导致问答提取队列失效。 @c121914yu
- Debug 模式交互节点下一步可能造成死循环。 @sd0ric4
What's Changed
- 4.9.4 doc by @c121914yu in #4493
- feat: team permission refine (#4494) by @c121914yu in #4498
- fix: password check by @c121914yu in #4497
- fix share page dataset search show by @newfish-cmyk in #4506
- Update zh-Hant Traditional Chinese i18n translation by @PeterDaveHello in #4507
- fix: downgrade md lib by @I-Info in #4508
- Add oceanbase-version docker-compose.yml & Update deployment documents by @Amaranterre in #4450
- V4.9.5 feature by @c121914yu in #4520
- feat: workflow input node add selectMulti; MultipleSelect component by @c121914yu in #4527
- fix chat test response detail by @newfish-cmyk in #4529
- feat: github workflow arm runner by @zijiren233 in #4530
- update Log by @gggaaallleee in #4533
- V4.9.5 feature by @c121914yu in #4534
New Contributors
- @Amaranterre made their first contribution in #4450
Full Changelog: v4.9.4...v4.9.5
V4.9.5-alpha
升级指南
1. 做好数据备份
2. 更新镜像 tag
- 更新 FastGPT 镜像 tag: v4.9.5-alpha
- 更新 FastGPT 商业版镜像 tag: v4.9.5-alpha
- Sandbox 无需更新
- AIProxy 无需更新
🚀 新增内容
- 团队成员权限细分,可分别控制是否可创建在根目录应用/知识库以及 API Key @FinleyGe
- 支持交互节点在嵌套工作流中使用。 @sd0ric4
- 团队成员操作日志。 @gggaaallleee
⚙️ 优化
- 繁体中文翻译。@PeterDaveHello
🐛 修复
- password 检测规则错误。 @c121914yu
- 分享链接无法隐藏知识库检索结果。 @newfish-cmyk
- IOS 低版本正则兼容问题。 @I-Info
- 修复问答提取队列错误后,计数器未清零问题,导致问答提取队列失效。 @c121914yu
- Debug 模式交互节点下一步可能造成死循环。 @sd0ric4
What's Changed
- 4.9.4 doc by @c121914yu in #4493
- feat: team permission refine (#4494) by @c121914yu in #4498
- fix: password check by @c121914yu in #4497
- fix share page dataset search show by @newfish-cmyk in #4506
- Update zh-Hant Traditional Chinese i18n translation by @PeterDaveHello in #4507
- fix: downgrade md lib by @I-Info in #4508
- Add oceanbase-version docker-compose.yml & Update deployment documents by @Amaranterre in #4450
- V4.9.5 feature by @c121914yu in #4520
New Contributors
- @Amaranterre made their first contribution in #4450
Full Changelog: v4.9.4...v4.9.5-alpha
v4.9.4
升级指南
1. 做好数据备份
2. 安装 Redis
- docker 部署的用户,参考最新的
docker-compose.yml
文件增加 Redis 配置。增加一个 redis 容器,并配置fastgpt
,fastgpt-pro
的环境变量,增加REDIS_URL
环境变量。 - Sealos 部署的用户,在数据库里新建一个
redis
数据库,并复制内网地址的 connection
作为redis
的链接串。然后配置fastgpt
,fastgpt-pro
的环境变量,增加REDIS_URL
环境变量。
![]() |
![]() |
![]() |
3. 更新镜像 tag
- 更新 FastGPT 镜像 tag: v4.9.4
- 更新 FastGPT 商业版镜像 tag: v4.9.4
- Sandbox 无需更新
- AIProxy 无需更新
4. 执行升级脚本
该脚本仅需商业版用户执行。
从任意终端,发起 1 个 HTTP 请求。其中 {{rootkey}} 替换成环境变量里的 rootkey
;{{host}} 替换成FastGPT 域名。
curl --location --request POST 'https://{{host}}/api/admin/initv494' \
--header 'rootkey: {{rootkey}}' \
--header 'Content-Type: application/json'
脚本功能
- 更新站点同步定时器
🚀 新增内容
- 集合数据训练状态展示 @newfish-cmyk
- SMTP 发送邮件插件 @lzs2000131
- BullMQ 消息队列。 @I-Info
- 利用 redis 进行部分数据缓存。 @I-Info
- 站点同步支持配置训练参数和增量同步。 @I-Info
- AI 对话/工具调用,增加返回模型 finish_reason 字段,便于追踪模型输出中断原因。 @c121914yu
- 移动端语音输入交互调整 @dreamer6680
⚙️ 优化
- Admin 模板渲染调整。 @gggaaallleee
- 支持环境变量配置对话文件过期时间。 @c121914yu
- MongoDB log 库可独立部署。 @FinleyGe
🐛 修复
- 搜索应用/知识库时,无法点击目录进入下一层。 @Mr-Chiang
- 重新训练时,参数未成功初始化。 @c121914yu
- package/service 部分请求在多 app 中不一致。解决语雀/飞书知识库定时同步异常问题。 @c121914yu @newfish-cmyk
What's Changed
- fix child app update variables by @newfish-cmyk in #4385
- Test email plugin by @c121914yu in #4387
- update doc by @c121914yu in #4386
- chore: edit the version number by @FinleyGe in #4398
- fix: sso.md by @FinleyGe in #4401
- chore(deps): bump axios from 1.7.9 to 1.8.2 in /plugins/webcrawler/SPIDER by @dependabot in #4399
- Update:知识库名称搜索出文件夹后,点击文件夹未置空搜索框,导致进不了文件夹的下一级,工作台搜索也有此问题 by @Mr-Chiang in #4404
- Update:同知识库搜索问题 by @Mr-Chiang in #4405
- update doc by @c121914yu in #4408
- Update sso.md by @FinleyGe in #4412
- add chunk reader doc by @newfish-cmyk in #4422
- fix: add connection timeout to database settings by @I-Info in #4434
- Enhance GitHub Actions workflows security and permissions by @yangchuansheng in #4445
- chore: security update by @FinleyGe in #4447
- 更新 491.md by @c121914yu in #4453
- test by @c121914yu in #4456
- V4.9.4 feature by @c121914yu in #4470
- Action test by @c121914yu in #4471
- 494 doc by @c121914yu in #4472
- feat: Add docs deploy to cf by @c121914yu in #4475
- Fix: log error when the loop input array is too long by @fforever14 in #4478
- fix: Add patch for [email protected] by @I-Info in #4479
- perf: regex patch for backward compatibility by @I-Info in #4483
- fix: queue by @c121914yu in #4485
- fix: package plus request by @c121914yu in #4492
- deps: bump pdfjs-dist to 4.10.38 by @I-Info in #4491
New Contributors
- @Mr-Chiang made their first contribution in #4404
- @fforever14 made their first contribution in #4478
Full Changelog: v4.9.3...v4.9.4
V4.9.4-alpha
What's Changed
- fix child app update variables by @newfish-cmyk in #4385
- Test email plugin by @c121914yu in #4387
- update doc by @c121914yu in #4386
- chore: edit the version number by @FinleyGe in #4398
- fix: sso.md by @FinleyGe in #4401
- chore(deps): bump axios from 1.7.9 to 1.8.2 in /plugins/webcrawler/SPIDER by @dependabot in #4399
- Update:知识库名称搜索出文件夹后,点击文件夹未置空搜索框,导致进不了文件夹的下一级,工作台搜索也有此问题 by @Mr-Chiang in #4404
- Update:同知识库搜索问题 by @Mr-Chiang in #4405
- update doc by @c121914yu in #4408
- Update sso.md by @FinleyGe in #4412
- add chunk reader doc by @newfish-cmyk in #4422
- fix: add connection timeout to database settings by @I-Info in #4434
- Enhance GitHub Actions workflows security and permissions by @yangchuansheng in #4445
- chore: security update by @FinleyGe in #4447
- 更新 491.md by @c121914yu in #4453
- test by @c121914yu in #4456
- fix: ts by @c121914yu in #4458
- update doc by @c121914yu in #4460
New Contributors
- @Mr-Chiang made their first contribution in #4404
Full Changelog: v4.9.3...v4.9.4-alpha