This commit is contained in:
Saifeddine ALOUI 2024-02-13 23:36:17 +01:00
parent b99f3dc56c
commit 84f76c4ef0
5 changed files with 13 additions and 13 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

4
web/dist/index.html vendored
View File

@ -6,8 +6,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>LoLLMS WebUI - Welcome</title> <title>LoLLMS WebUI - Welcome</title>
<script type="module" crossorigin src="/assets/index-d3040508.js"></script> <script type="module" crossorigin src="/assets/index-74b2874f.js"></script>
<link rel="stylesheet" href="/assets/index-0145fd98.css"> <link rel="stylesheet" href="/assets/index-6a014c04.css">
</head> </head>
<body> <body>
<div id="app"></div> <div id="app"></div>

View File

@ -194,13 +194,7 @@
:on-show-toast-message="onShowToastMessage" :on-show-toast-message="onShowToastMessage"
ref="personalityCMD" ref="personalityCMD"
></PersonalitiesCommands> ></PersonalitiesCommands>
</div> </div>
<div class="relative grow">
<textarea id="chat" rows="1" v-model="message" title="Hold SHIFT + ENTER to add new line"
class="inline-block no-scrollbar p-2.5 w-full text-sm text-gray-900 bg-bg-light rounded-lg border border-gray-300 focus:ring-blue-500 focus:border-blue-500 dark:bg-bg-dark dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"
placeholder="Send message..." @keydown.enter.exact="submitOnEnter($event)">
</textarea>
</div>
<div class="group relative w-12"> <div class="group relative w-12">
<button @click.prevent="toggleSwitch"> <button @click.prevent="toggleSwitch">
<svg width="100" height="50"> <svg width="100" height="50">
@ -211,6 +205,12 @@
</button> </button>
<div class="pointer-events-none absolute -top-20 left-1/2 w-max -translate-x-1/2 rounded-md bg-gray-100 p-2 opacity-0 transition-opacity group-hover:opacity-100 dark:bg-gray-800"><p class="max-w-sm text-sm text-gray-800 dark:text-gray-200">When enabled, the model will try to complement its answer with information queried from the web.</p></div> <div class="pointer-events-none absolute -top-20 left-1/2 w-max -translate-x-1/2 rounded-md bg-gray-100 p-2 opacity-0 transition-opacity group-hover:opacity-100 dark:bg-gray-800"><p class="max-w-sm text-sm text-gray-800 dark:text-gray-200">When enabled, the model will try to complement its answer with information queried from the web.</p></div>
</div> </div>
<div class="relative grow">
<textarea id="chat" rows="1" v-model="message" title="Hold SHIFT + ENTER to add new line"
class="inline-block no-scrollbar p-2.5 w-full text-sm text-gray-900 bg-bg-light rounded-lg border border-gray-300 focus:ring-blue-500 focus:border-blue-500 dark:bg-bg-dark dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"
placeholder="Send message..." @keydown.enter.exact="submitOnEnter($event)">
</textarea>
</div>
<button v-if="loading" type="button" <button v-if="loading" type="button"
class="bg-red-500 dark:bg-red-800 hover:bg-red-600 focus:ring-4 focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 mr-2 mb-2 dark:hover:bg-bg-dark-tone focus:outline-none dark:focus:ring-blue-800" class="bg-red-500 dark:bg-red-800 hover:bg-red-600 focus:ring-4 focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 mr-2 mb-2 dark:hover:bg-bg-dark-tone focus:outline-none dark:focus:ring-blue-800"
@click.stop="stopGenerating"> @click.stop="stopGenerating">

@ -1 +1 @@
Subproject commit dc80c0fc674593ed879331ebbee62c27331caa4e Subproject commit bcce2d8e5df9f620620561f9c527ff2547d7472f