fix(chat): avoid final stream remount
Build Push and Deploy / docker-image (push) Successful in 1m1s
Build Push and Deploy / deploy-fallback-log (push) Has been skipped

This commit is contained in:
2026-06-10 21:17:24 +08:00
parent 4374c89a63
commit a6ea97142a
3 changed files with 56 additions and 27 deletions
+1 -1
View File
@@ -114,7 +114,7 @@ const StreamingMarkdownBlock = ({
React.useLayoutEffect(() => {
setStreamTextState((current) => {
if (current.displayText === text && current.animatedTailLength === 0) {
if (current.displayText === text) {
return current;
}