This commit is contained in:
Saifeddine ALOUI 2024-11-10 21:44:31 +01:00
parent 6a99dab0e2
commit a1727d03ca
5 changed files with 7 additions and 5 deletions

@ -1 +1 @@
Subproject commit 662dc241bb16a6f46ae78ab3549569f76fcf8fc4
Subproject commit 63b09388787cb244e2dfed7422cfd91f8549a379

File diff suppressed because one or more lines are too long

2
web/dist/index.html vendored
View File

@ -6,7 +6,7 @@
<script src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-svg.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>LoLLMS WebUI</title>
<script type="module" crossorigin src="/assets/index-D1pouMUt.js"></script>
<script type="module" crossorigin src="/assets/index-BxkXwSKb.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-x900GuGZ.css">
</head>
<body>

View File

@ -76,6 +76,7 @@ export default {
},
mountedPers:{
get() {
console.log("asked for:", this.$store.state.mountedPers)
return this.$store.state.mountedPers;
},
set(value) {

View File

@ -466,8 +466,9 @@ export const store = createStore({
}
commit('setMountedPersArr', mountedPersArr);
this.state.mountedPers = this.state.personalities[this.state.personalities.findIndex(item => item.full_path == this.state.config.personalities[this.state.config.active_personality_id])]
const current_personality = this.state.personalities[this.state.personalities.findIndex(item => item.full_path == this.state.config.personalities[this.state.config.active_personality_id])]
console.log("Setting current mounted personality: ",current_personality)
this.state.mountedPers = current_personality
},
async refreshBindings({ commit }) {
let bindingsZoo = await api_get_req("list_bindings")