A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
Fix: also wrap non-breaking words in chat messages, handle whitespace (#13211)
shamoonbe40356d2e1c
diff --git a/src-ui/src/app/components/chat/chat/chat.component.html b/src-ui/src/app/components/chat/chat/chat.component.htmlindex 19859063f..00c65459e 100644--- a/src-ui/src/app/components/chat/chat/chat.component.html+++ b/src-ui/src/app/components/chat/chat/chat.component.html@@ -9,7 +9,7 @@@for (message of messages(); track message) {<div class="message d-flex flex-row small" [class.justify-content-end]="message.role === 'user'"><div class="p-2 m-2" [class.bg-body]="message.role === 'user'">- <span>+ <span class="text-break">{{ message.content }}@if (message.isStreaming) { <span class="blinking-cursor">|</span> }</span>diff --git a/src-ui/src/app/components/chat/chat/chat.component.scss b/src-ui/src/app/components/chat/chat/chat.component.scssindex ccd714f3c..f14be66e2 100644--- a/src-ui/src/app/components/chat/chat/chat.component.scss+++ b/src-ui/src/app/components/chat/chat/chat.component.scss@@ -5,6 +5,7 @@.chat-messages {max-height: 350px;overflow-y: auto;+ white-space: pre-wrap;}.chat-references {