mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-12 06:58:59 +08:00
fix: occasional multiple responses displayed in frontend due to unexpected message_id from onData (#2231)
This commit is contained in:
parent
4ab66299d4
commit
bd0af2e921
@ -110,7 +110,7 @@ const handleStream = (response: Response, onData: IOnData, onCompleted?: IOnComp
|
||||
// mute handle message cut off
|
||||
onData('', isFirstMessage, {
|
||||
conversationId: bufferObj?.conversation_id,
|
||||
messageId: bufferObj?.id,
|
||||
messageId: bufferObj?.message_id,
|
||||
})
|
||||
return
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user