This commit is contained in:
Saifeddine ALOUI 2024-03-31 17:58:15 +02:00
parent 8d8fa373f8
commit 8faa09179e
5 changed files with 12 additions and 10 deletions

@ -1 +1 @@
Subproject commit a0c8e29b37bf880eefeb4cd4d4ee3ccad5a1672b
Subproject commit 7b065cbba56e434763209a34f292abd7e7b18910

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">
<title>LoLLMS WebUI - Welcome</title>
<script type="module" crossorigin src="/assets/index-2e9957ed.js"></script>
<link rel="stylesheet" href="/assets/index-f60ab000.css">
<script type="module" crossorigin src="/assets/index-ac1bdf1c.js"></script>
<link rel="stylesheet" href="/assets/index-0d258ca4.css">
</head>
<body>
<div id="app"></div>

View File

@ -1219,7 +1219,7 @@
<table class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500">
<tr>
<td style="min-width: 200px;">
<label for="discussion_db_name" class="text-sm font-bold" style="margin-right: 1rem;">Host:</label>
<label for="host" class="text-sm font-bold" style="margin-right: 1rem;">Host:</label>
</td>
<td style="width: 100%;">
<input
@ -4593,6 +4593,7 @@ export default {
try {
const obj = {
client_id: this.$store.state.client_id,
language: pers.language?pers.language:"",
category: pers.category?pers.category:"",
folder: pers.folder?pers.folder:"",
@ -4614,6 +4615,7 @@ export default {
if (!pers) { return { 'status': false, 'error': 'no personality - unmount_personality' } }
const obj = {
client_id: this.$store.state.client_id,
language: pers.language,
category: pers.category,
folder: pers.folder
@ -4965,7 +4967,7 @@ export default {
console.log('on reinstall ', persItem)
this.isLoading = true
console.log("Personality path:",persItem.personality.path)
axios.post('/reinstall_personality', { name: persItem.personality.path }).then((res) => {
axios.post('/reinstall_personality', { client_id:this.$store.state.client_id, name: persItem.personality.path }).then((res) => {
if (res) {
this.isLoading = false