fix: occasional multiple responses displayed in frontend due to unexpected message_id from onData (#2231)

pull/2215/head^2
Ricky 2 years ago committed by GitHub
parent 4ab66299d4
commit bd0af2e921
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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…
Cancel
Save