fix: Fixed an issue where the sample of the reply content was displayed out of order

This commit is contained in:
李超 2024-08-02 21:05:21 +08:00
parent 9193a9a0e0
commit 8498cadae8

View File

@ -1470,6 +1470,7 @@ function _Chat() {
)}
<div className={styles["chat-message-item"]}>
<Markdown
key={message.streaming ? "loading" : "done"}
content={getMessageTextContent(message)}
loading={
(message.preview || message.streaming) &&