diff --git a/document/content/docs/upgrading/4-14/4145.mdx b/document/content/docs/upgrading/4-14/4145.mdx index e8006a780b..c719cb7371 100644 --- a/document/content/docs/upgrading/4-14/4145.mdx +++ b/document/content/docs/upgrading/4-14/4145.mdx @@ -1,5 +1,5 @@ --- -title: 'V4.14.5' +title: 'V4.14.5(包含升级脚本)' description: 'FastGPT V4.14.5 更新说明' --- diff --git a/document/content/docs/upgrading/4-14/4146.mdx b/document/content/docs/upgrading/4-14/4146.mdx index db9f62519d..257baea13c 100644 --- a/document/content/docs/upgrading/4-14/4146.mdx +++ b/document/content/docs/upgrading/4-14/4146.mdx @@ -12,6 +12,7 @@ description: 'FastGPT V4.14.6 更新说明' 1. 工作流触摸板移动时,遇到输入框后会被强制阻拦。 2. 工作流粘贴节点,精确按鼠标位置粘贴。 +3. 精确移除请求 LLM 时多余的系统字段,避免部分模型接口报错。 ## 🐛 修复 diff --git a/document/data/doc-last-modified.json b/document/data/doc-last-modified.json index 852bb36370..855c7fc3b3 100644 --- a/document/data/doc-last-modified.json +++ b/document/data/doc-last-modified.json @@ -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", diff --git a/packages/service/core/ai/llm/utils.ts b/packages/service/core/ai/llm/utils.ts index fa7ed650ff..72af145b94 100644 --- a/packages/service/core/ai/llm/utils.ts +++ b/packages/service/core/ai/llm/utils.ts @@ -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;