Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
fa4081d6
authored
May 22, 2024
by
cherishsince
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【优化】AI stream 优化,添加的临时role 头像对不上问题
parent
4466c5b4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
src/views/ai/chat/index.vue
+1
-1
No files found.
src/views/ai/chat/index.vue
View file @
fa4081d6
...
@@ -312,7 +312,7 @@ const doSendStream = async (userMessage: ChatMessageVO) => {
...
@@ -312,7 +312,7 @@ const doSendStream = async (userMessage: ChatMessageVO) => {
conversationId
:
activeConversationId
.
value
,
conversationId
:
activeConversationId
.
value
,
type
:
'system'
,
type
:
'system'
,
content
:
'思考中...'
,
content
:
'思考中...'
,
roleAvatar
:
defaultR
oleAvatar
,
roleAvatar
:
(
activeConversation
.
value
as
ChatConversationVO
).
r
oleAvatar
,
createTime
:
new
Date
()
createTime
:
new
Date
()
}
as
ChatMessageVO
)
}
as
ChatMessageVO
)
// 滚动到最下面
// 滚动到最下面
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment