【优化】AI stream 优化,添加的临时role 头像对不上问题
This commit is contained in:
parent
4466c5b4ec
commit
fa4081d669
@ -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)
|
||||||
// 滚动到最下面
|
// 滚动到最下面
|
||||||
|
Loading…
Reference in New Issue
Block a user