Skip to content

Commit

Permalink
Solve the problem of displaying repeated incorrect words during the s…
Browse files Browse the repository at this point in the history
…treaming output process in Chinese and other languages. (mckaywrigley#1552)
  • Loading branch information
xycjscs authored Mar 23, 2024
1 parent 7f5c42a commit 96b18f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/chat/chat-helpers/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ export const processResponse = async (
const updatedChatMessage: ChatMessage = {
message: {
...chatMessage.message,
content: chatMessage.message.content + contentToAdd
content: fullText
},
fileItems: chatMessage.fileItems
}
Expand Down

0 comments on commit 96b18f7

Please sign in to comment.