【优化】AI stream 优化,添加的临时role 头像对不上问题

This commit is contained in:
cherishsince 2024-05-22 11:08:22 +08:00
parent 4466c5b4ec
commit fa4081d669

View File

@ -312,7 +312,7 @@ const doSendStream = async (userMessage: ChatMessageVO) => {
conversationId: activeConversationId.value, conversationId: activeConversationId.value,
type: 'system', type: 'system',
content: '思考中...', content: '思考中...',
roleAvatar: defaultRoleAvatar, roleAvatar: (activeConversation.value as ChatConversationVO).roleAvatar,
createTime: new Date() createTime: new Date()
} as ChatMessageVO) } as ChatMessageVO)
// //