This commit is contained in:
Saifeddine ALOUI 2024-07-10 23:58:42 +02:00
parent d3a4288d5b
commit f88c9d758d
5 changed files with 10 additions and 8 deletions

View File

@ -72,7 +72,7 @@ def terminate_thread(thread):
else: else:
ASCIIColors.yellow("Canceled successfully")# The current version of the webui ASCIIColors.yellow("Canceled successfully")# The current version of the webui
lollms_webui_version="9.9 (🤖)" lollms_webui_version="10 (🧠)"

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</title> <title>LoLLMS WebUI</title>
<script type="module" crossorigin src="/assets/index-f6b4f977.js"></script> <script type="module" crossorigin src="/assets/index-8cab51b5.js"></script>
<link rel="stylesheet" href="/assets/index-cc102f75.css"> <link rel="stylesheet" href="/assets/index-e34e3adb.css">
</head> </head>
<body> <body>
<div id="app"></div> <div id="app"></div>

View File

@ -30,7 +30,7 @@
</transition> </transition>
<button v-if="isReady" @click="togglePanel" class="absolute top-2 left-2 p-3 bg-white bg-opacity-10 rounded-full cursor-pointer transition-all duration-300 hover:scale-110 hover:bg-opacity-20 animate-pulse shadow-lg hover:shadow-xl group"> <button v-if="isReady" @click="togglePanel" class="absolute bottom-2 left-2 p-3 bg-white bg-opacity-10 rounded-full cursor-pointer transition-all duration-300 hover:scale-110 hover:bg-opacity-20 shadow-lg hover:shadow-xl group">
<div v-show="leftPanelCollapsed" ><i data-feather='chevron-right'></i></div> <div v-show="leftPanelCollapsed" ><i data-feather='chevron-right'></i></div>
<div v-show="!leftPanelCollapsed" ><i data-feather='chevron-left'></i></div> <div v-show="!leftPanelCollapsed" ><i data-feather='chevron-left'></i></div>
</button> </button>
@ -2174,7 +2174,9 @@ export default {
try{ try{
this.$store.state.loading_infos = "Loading Configuration" this.$store.state.loading_infos = "Loading Configuration"
while(socket.id===undefined){} while(socket.id===undefined){
await new Promise((resolve) => setTimeout(resolve, 100)); // Wait for 100ms
}
this.$store.state.client_id = socket.id this.$store.state.client_id = socket.id
console.log(this.$store.state.client_id) console.log(this.$store.state.client_id)
await this.$store.dispatch('refreshConfig'); await this.$store.dispatch('refreshConfig');