fix: image chunk data broken

This commit is contained in:
jialin
2024-11-27 21:13:31 +08:00
parent 146bcdcf1c
commit 324bd57e3d
6 changed files with 86 additions and 12 deletions
@@ -282,7 +282,7 @@ const GroundEmbedding: React.FC<MessageProps> = forwardRef((props, ref) => {
.split('\n')
.map((item: string) => {
return {
text: item,
text: item?.trim(),
uid: inputListRef.current?.setMessageId(),
name: ''
};