Skip to content

Commit

Permalink
fix: Fixed an issue where the sample of the reply content was display…
Browse files Browse the repository at this point in the history
…ed out of order
  • Loading branch information
李超 committed Aug 2, 2024
1 parent 9193a9a commit 8498cad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/components/chat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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) &&
Expand Down

0 comments on commit 8498cad

Please sign in to comment.