Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion document/content/docs/upgrading/4-14/4145.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: 'V4.14.5'
title: 'V4.14.5(包含升级脚本)'
description: 'FastGPT V4.14.5 更新说明'
---

Expand Down
1 change: 1 addition & 0 deletions document/content/docs/upgrading/4-14/4146.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ description: 'FastGPT V4.14.6 更新说明'

1. 工作流触摸板移动时,遇到输入框后会被强制阻拦。
2. 工作流粘贴节点,精确按鼠标位置粘贴。
3. 精确移除请求 LLM 时多余的系统字段,避免部分模型接口报错。

## 🐛 修复

Expand Down
2 changes: 1 addition & 1 deletion document/data/doc-last-modified.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 3 additions & 0 deletions packages/service/core/ai/llm/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,9 @@ export const loadRequestMessages = async ({
const result = (
await Promise.all(
content.map(async (item) => {
// Remove system filed
Copy link

Copilot AI Jan 18, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The comment contains a spelling error. "filed" should be "field".

Suggested change
// Remove system filed
// Remove system field

Copilot uses AI. Check for mistakes.

Copy link

Copilot AI Jan 18, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's an unnecessary blank line between the comment and the code. This blank line should be removed for better code formatting consistency.

Suggested change

Copilot uses AI. Check for mistakes.
delete item.key;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

S3 key deleted before image loading can use it

High Severity

The delete item.key statement removes the key property before loadUserContentImage is called. However, loadUserContentImage relies on item.key at line 172 to fetch image URLs from S3 storage via getS3ChatSource().createGetChatFileURL(). Since the key is deleted beforehand, the S3 lookup path will never be taken, breaking image loading for S3-stored images when content is an array.

Additional Locations (1)

Fix in Cursor Fix in Web

if (item.type === 'text') {
// If it is array, not need to parse image
if (item.text) return item;
Expand Down
Loading