]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
server : (UI) Support for RTL text as models input or output (#11208)
authorebraminio <redacted>
Mon, 13 Jan 2025 13:46:39 +0000 (17:16 +0330)
committerGitHub <redacted>
Mon, 13 Jan 2025 13:46:39 +0000 (14:46 +0100)
examples/server/public/index.html.gz
examples/server/webui/index.html

index 3640a7a6cfa76764d93684e9051a32c263932c8a..489bff84b98f7bd7ebcdabeb7d0f9b31093eae58 100644 (file)
Binary files a/examples/server/public/index.html.gz and b/examples/server/public/index.html.gz differ
index 86a79b77f3a96f16d2ce8b078d65c12109a12501..a76d831a9981262464f68bb496da525fdddae28f 100644 (file)
@@ -37,7 +37,7 @@
           <div v-for="conv in conversations" :class="{
             'btn btn-ghost justify-start font-normal': true,
             'btn-active': conv.id === viewingConvId,
-          }" @click="setViewingConv(conv.id)">
+          }" @click="setViewingConv(conv.id)" dir="auto">
             <span class="truncate">{{ conv.messages[0].content }}</span>
           </div>
           <div class="text-center text-xs opacity-40 mt-auto mx-4">
             @keydown.enter.shift.exact.prevent="inputMsg += '\n'"
             :disabled="isGenerating"
             id="msg-input"
+            dir="auto"
           ></textarea>
           <button v-if="!isGenerating" class="btn btn-primary ml-2" @click="sendMessage" :disabled="inputMsg.length === 0">Send</button>
           <button v-else class="btn btn-neutral ml-2" @click="stopGeneration">Stop</button>
       <div :class="{
         'chat-bubble markdown': true,
         'chat-bubble-base-300': msg.role !== 'user',
-      }">
+      }" dir="auto">
         <!-- textarea for editing message -->
         <template v-if="editingContent !== null">
           <textarea