Unverified Commit bd0af2e9 authored by Ricky's avatar Ricky Committed by GitHub

fix: occasional multiple responses displayed in frontend due to unexpected...

fix: occasional multiple responses displayed in frontend due to unexpected message_id from onData (#2231)
parent 4ab66299
......@@ -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
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment