v4.12.1

labring/FastGPTv4.12.1Aug 15, 2025by c121914yu

AI Summary

Improves workflow stability with response optimizations and introduces prompt auto-generation capabilities.

Key Highlights

  • Prompt auto-generation and optimization features added.
  • Workflow response optimization to specify response values explicitly.
  • Chat log export now fixes table headers and exports fixed details.
  • System tools can now be configured with specific Tool descriptions.

New Features

  • Prompt auto-generation and optimization.
  • Tool description configuration for system tools.

Full Release Notes

## 更新指南

### 1. 更新镜像:

- 更新 FastGPT 镜像tag: v4.12.1
- 更新 FastGPT 商业版镜像tag: v4.12.1
- 更新 fastgpt-plugin 镜像 tag: v0.1.10
- mcp_server 无需更新
- Sandbox 无需更新
- AIProxy 无需更新

## 🚀 新增内容

1. Prompt 自动生成和优化。
2. 增加`SIGNOZ_STORE_LEVEL`参数,可以控制 Signoz 日志存储级别。

## ⚙️ 优化

1. 工作流响应优化,主动指定响应值进入历史记录,而不是根据 key 决定。
2. 避免工作流中,变量替换导致的死循环或深度递归风险。
3. 对话日志导出,固定导出对话详情。
4. 分页器 UI 优化。

## 🐛 修复

1. 工具密钥输入,boolean 值无法通过 form 校验。
2. 对话页,pane切换可能导致数据异常。
3. 对话日志看板数据表索引不正确。

## 🔨 工具更新

1. 支持对系统工具单独配置 Tool description,更利于模型理解。

## What's Changed
* perf: workflow response field by @c121914yu in https://github.com/labring/FastGPT/pull/5443
* test: Add unit test for projects/app/src/web/core/chat/context/useChatStore.ts by @gru-agent[bot] in https://github.com/labring/FastGPT/pull/5441
* chore(deps): bump transformers from 4.52.1 to 4.53.0 in /plugins/model/llm-ChatGLM2 by @dependabot[bot] in https://github.com/labring/FastGPT/pull/5442
* Update dataset.mdx by @Deepturn in https://github.com/labring/FastGPT/pull/5448
* fix: update runningUserInfo retrieval in chat completions API by @ctrlz526 in https://github.com/labring/FastGPT/pull/5446
* fix log chart display by @newfish-cmyk in https://github.com/labring/FastGPT/pull/5449
* fix: concatenate answerText in dispatchRunTool function by @ctrlz526 in https://github.com/labring/FastGPT/pull/5451
* perf: variabel replace;Feat: prompt optimizer code by @c121914yu in https://github.com/labring/FastGPT/pull/5453
* fix dataset auth filter by @newfish-cmyk in https://github.com/labring/FastGPT/pull/5457
* fix instructions by @ctrlz526 in https://github.com/labring/FastGPT/pull/5455
* export chat detail by @newfish-cmyk in https://github.com/labring/FastGPT/pull/5454
* prompt optimze loading by @newfish-cmyk in https://github.com/labring/FastGPT/pull/5461
* fix: index by @c121914yu in https://github.com/labring/FastGPT/pull/5458
* perf: chat pane by @c121914yu in https://github.com/labring/FastGPT/pull/5462
* feat: enhance workflow types and runtime nodes with toolDescription  by @ctrlz526 in https://github.com/labring/FastGPT/pull/5452
* perF: getInitData api cache;perf: tool description field;signoz store level by @c121914yu in https://github.com/labring/FastGPT/pull/5465
* perf: page ui by @c121914yu in https://github.com/labring/FastGPT/pull/5469
* version package by @c121914yu in https://github.com/labring/FastGPT/pull/5470
* fix: fe by @c121914yu in https://github.com/labring/FastGPT/pull/5471


**Full Changelog**: https://github.com/labring/FastGPT/compare/v4.12.0...v4.12.1