fixed copy persona to custom folder

This commit is contained in:
Saifeddine ALOUI 2024-02-28 23:26:37 +01:00
parent e7cdefcf94
commit bf23e540d8
5 changed files with 22 additions and 11 deletions

@ -1 +1 @@
Subproject commit 8e0acd35156536c20194f4f587e0f316e0868eec
Subproject commit c7abab41eee0941b15a05e88f3dfe0d006e47489

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-fd262646.js"></script>
<link rel="stylesheet" href="/assets/index-a12915cf.css">
<script type="module" crossorigin src="/assets/index-c3e87417.js"></script>
<link rel="stylesheet" href="/assets/index-f2791640.css">
</head>
<body>
<div id="app"></div>

View File

@ -4600,11 +4600,19 @@ export default {
})
.then(response => {
if (response.status){
this.$store.state.messageBox.showMessage("Personality copied to the custom personalities folder :\n")
this.$store.state.messageBox.showMessage(
"Personality copied to the custom personalities folder:\n"+
"Now it's up to you to modify it, enhance it, and maybe even share it.\n"+
"Feel free to add your name as an author, but please remember to keep the original creator's name as well.\n"+
"You have the freedom to give, sell, or keep the personas you create for yourself.\n"+
"The possibilities are endless, they are now yours to mold and customize as you see fit."
)
this.$store.dispatch('refreshPersonalitiesZoo')
}
else{
this.$store.state.toast.showToast("Personality couldn't be copied to the custom personalities folder:\n", 4, false)
this.$store.state.toast.showToast("Personality couldn't be copied to the custom personalities folder:\nVerify that the personality is not already copied there.", 4, false)
}
})
.catch(error => {