mirror of
				https://github.com/ggml-org/llama.cpp.git
				synced 2025-11-04 09:32:00 +00:00 
			
		
		
		
	server : (UI) Support for RTL text as models input or output (#11208)
This commit is contained in:
		
										
											Binary file not shown.
										
									
								
							@@ -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">
 | 
			
		||||
@@ -156,6 +156,7 @@
 | 
			
		||||
            @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>
 | 
			
		||||
@@ -244,7 +245,7 @@
 | 
			
		||||
      <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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user