perf: remove request invalid field (#6283)

This commit is contained in:
Archer
2026-01-18 23:59:15 +08:00
committed by GitHub
parent 15f8e70453
commit b7a10bff2b
4 changed files with 6 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
---
title: 'V4.14.5'
title: 'V4.14.5(包含升级脚本)'
description: 'FastGPT V4.14.5 更新说明'
---

View File

@@ -12,6 +12,7 @@ description: 'FastGPT V4.14.6 更新说明'
1. 工作流触摸板移动时,遇到输入框后会被强制阻拦。
2. 工作流粘贴节点,精确按鼠标位置粘贴。
3. 精确移除请求 LLM 时多余的系统字段,避免部分模型接口报错。
## 🐛 修复

View File

@@ -122,7 +122,7 @@
"document/content/docs/upgrading/4-14/4142.mdx": "2025-11-18T19:27:14+08:00",
"document/content/docs/upgrading/4-14/4143.mdx": "2025-11-26T20:52:05+08:00",
"document/content/docs/upgrading/4-14/4144.mdx": "2025-12-16T14:56:04+08:00",
"document/content/docs/upgrading/4-14/4145.mdx": "2026-01-12T08:50:15+08:00",
"document/content/docs/upgrading/4-14/4145.mdx": "2026-01-13T19:11:02+08:00",
"document/content/docs/upgrading/4-14/4146.mdx": "2026-01-12T21:07:44+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",

View File

@@ -230,6 +230,9 @@ export const loadRequestMessages = async ({
const result = (
await Promise.all(
content.map(async (item) => {
// Remove system filed
delete item.key;
if (item.type === 'text') {
// If it is array, not need to parse image
if (item.text) return item;