This commit is contained in:
Saifeddine ALOUI 2024-01-31 08:40:08 +01:00
parent 8bb5d1bb07
commit 9f5aff16be
8 changed files with 45 additions and 50 deletions

@ -1 +1 @@
Subproject commit ea313c783c3c5727ee29f5bbc3beaa02549e3798
Subproject commit 818c956e6fcba516ee234a25bb17c54787d89742

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-607a729a.js"></script>
<link rel="stylesheet" href="/assets/index-9d6fe0d1.css">
<script type="module" crossorigin src="/assets/index-3ef4a164.js"></script>
<link rel="stylesheet" href="/assets/index-3f9023f9.css">
</head>
<body>
<div id="app"></div>

View File

@ -632,7 +632,7 @@ export default {
axios.get('/clear_personality_files_list').then(res=>{
console.log(res)
if(res.data.state){
this.$store.state.toast.showToast("File uploaded successfully",4,true);
this.$store.state.toast.showToast("File removed successfully",4,true);
this.filesList.length = 0;
this.isFileSentList.length = 0;
}
@ -670,7 +670,6 @@ export default {
this.isFileSentList[this.filesList.length-1]=true;
console.log(this.isFileSentList)
this.$store.state.toast.showToast("File uploaded successfully",4,true);
this.loading = false
next();
}
};
@ -769,7 +768,6 @@ export default {
// console.log(this.filesList)
},
sendMessageEvent(msg) {
this.filesList.length = 0;
this.$emit('messageSentEvent', msg)
},

View File

@ -679,10 +679,7 @@ export default {
this.selectDiscussion(discussionItem)
this.load_discussion(data.id,()=>{
this.loading = false
axios.get('/get_current_personality_files_list').then(res=>{
console.log("Files recovered")
this.fileList = res.files
});
this.recoverFiles();
nextTick(() => {
const selectedDisElement = document.getElementById('dis-' + data.id)
this.scrollToElement(selectedDisElement)

@ -1 +1 @@
Subproject commit 9ccebb753025f27c81ebf991c8a4266742ca017e
Subproject commit 6f20fff6f1efc063c43725c0266eda33e2864dc7

@ -1 +1 @@
Subproject commit 3915951920cf483388360e0b890019e938ec516b
Subproject commit 9df6877e76061d0880a4f018eda475604ad65b0c