fix: add then eidt annotion cause show bug (#1775)
This commit is contained in:
parent
1a5279a3ef
commit
4f0e272549
1 changed files with 4 additions and 0 deletions
|
|
@ -231,6 +231,10 @@ const Chat: FC<IChatProps> = ({
|
||||||
return {
|
return {
|
||||||
...item,
|
...item,
|
||||||
content: answer,
|
content: answer,
|
||||||
|
annotation: {
|
||||||
|
...item.annotation,
|
||||||
|
logAnnotation: undefined,
|
||||||
|
} as any,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return item
|
return item
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue