Co-authored-by: langyong <langyong@lixiang.com>
@ -260,11 +260,7 @@ const Chat: FC<IChatProps> = ({
return {
...item,
content: item.content,
annotation: {
...(item.annotation || {}),
id: '',
logAnnotation: undefined, // remove log
} as Annotation,
annotation: undefined,
}
return item
@ -137,8 +137,8 @@ const getFormattedChatList = (messages: ChatMessage[], conversationId: string, t
if (item.annotation) {
authorName: '',
id: item.annotation.id,
authorName: item.annotation.account.name,
logAnnotation: item.annotation,
created_at: 0,
@ -57,6 +57,7 @@ export type ModelConfigDetail = {
export type LogAnnotation = {
id: string
content: string
account: {