Skip to content

Commit

Permalink
fixed copy persona to custom folder
Browse files Browse the repository at this point in the history
  • Loading branch information
ParisNeo committed Feb 28, 2024
1 parent e7cdefc commit bf23e54
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 11 deletions.
2 changes: 1 addition & 1 deletion lollms_core

Large diffs are not rendered by default.

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions web/dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
12 changes: 10 additions & 2 deletions web/src/views/SettingsView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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 => {
Expand Down

0 comments on commit bf23e54

Please sign in to comment.