fix: 附件名称移除emoji,保留原图片URL用于AI多图融合
This commit is contained in:
parent
7f67259c94
commit
d169a3e931
@ -319,10 +319,10 @@ export function CanvasChatPanel({ chatId, initialMessages = [], onClose, onOpenF
|
||||
currentAttachments.length + i
|
||||
);
|
||||
|
||||
// 添加到附件列表(带物品信息)
|
||||
// 添加到附件列表(带物品信息,原图片 URL 会发送给 AI 用于多图融合编辑)
|
||||
currentAttachments.push({
|
||||
url: picked.imageUrl,
|
||||
name: `🎯 ${picked.objectName}`,
|
||||
url: picked.imageUrl, // 原图片 URL
|
||||
name: `${picked.objectName}-${picked.objectPosition}`, // 物品名称-位置
|
||||
contentType: 'image/jpeg',
|
||||
pickedObject: {
|
||||
objectName: picked.objectName,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user