imageData not to content

This commit is contained in:
songtianlun 2025-09-01 23:48:16 +08:00
parent 21bf7add36
commit 9f2434f182

View File

@ -66,9 +66,9 @@ const IMAGE_MODEL_ADAPTERS: Record<string, ModelAdapter> = {
} }
} }
// 如果有图片数据,返回图片数据,否则返回文本内容 // 如果有图片数据,不返回到 content 中,只存储到 imageData
return { return {
content: imageData || content || 'No image data found in response', content: imageData ? '' : (content || 'No image data found in response'),
outputType: 'image', outputType: 'image',
imageData: imageData imageData: imageData
} }