mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2024-12-22 05:37:48 +00:00
no progress
This commit is contained in:
parent
a1c53873bc
commit
e5fe5fc29b
@ -230,10 +230,6 @@ export default {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
},
|
},
|
||||||
async unmount_personality(pers) {
|
async unmount_personality(pers) {
|
||||||
if (!pers) { return { 'status': false, 'error': 'no personality - unmount_personality' } }
|
if (!pers) { return { 'status': false, 'error': 'no personality - unmount_personality' } }
|
||||||
@ -246,12 +242,12 @@ export default {
|
|||||||
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
this.isLoading = true
|
||||||
const res = await axios.post('/unmount_personality', obj);
|
const res = await axios.post('/unmount_personality', obj);
|
||||||
|
this.isLoading = false
|
||||||
|
|
||||||
if (res) {
|
if (res) {
|
||||||
|
|
||||||
return res.data
|
return res.data
|
||||||
|
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.log(error.message, 'unmount_personality - settings')
|
console.log(error.message, 'unmount_personality - settings')
|
||||||
|
Loading…
Reference in New Issue
Block a user