mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2025-01-30 08:03:57 +00:00
upgraded
This commit is contained in:
parent
e56af6a86b
commit
7cb99bb8e6
@ -203,10 +203,7 @@ export default {
|
|||||||
this.new_message_content = this.message.content
|
this.new_message_content = this.message.content
|
||||||
nextTick(() => {
|
nextTick(() => {
|
||||||
feather.replace()
|
feather.replace()
|
||||||
|
|
||||||
this.mdRenderHeight = this.$refs.mdRender.$el.offsetHeight
|
this.mdRenderHeight = this.$refs.mdRender.$el.offsetHeight
|
||||||
|
|
||||||
|
|
||||||
})
|
})
|
||||||
|
|
||||||
}, methods: {
|
}, methods: {
|
||||||
|
@ -106,6 +106,7 @@ export const store = createStore({
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
actions: {
|
actions: {
|
||||||
|
|
||||||
async refreshConfig({ commit }) {
|
async refreshConfig({ commit }) {
|
||||||
console.log("Fetching configuration");
|
console.log("Fetching configuration");
|
||||||
try {
|
try {
|
||||||
@ -160,14 +161,13 @@ export const store = createStore({
|
|||||||
}
|
}
|
||||||
|
|
||||||
personalities.sort((a, b) => a.name.localeCompare(b.name))
|
personalities.sort((a, b) => a.name.localeCompare(b.name))
|
||||||
console.log('personalities',personalities)
|
|
||||||
commit('setPersonalities', personalities);
|
commit('setPersonalities', personalities);
|
||||||
|
|
||||||
console.log("Done loading personalities")
|
console.log("Done loading personalities")
|
||||||
},
|
},
|
||||||
refreshMountedPersonalities({ commit }) {
|
refreshMountedPersonalities({ commit }) {
|
||||||
let mountedPersArr = []
|
let mountedPersArr = []
|
||||||
console.log(this.state.config.personalities.length)
|
|
||||||
// console.log('perrs listo',this.state.personalities)
|
// console.log('perrs listo',this.state.personalities)
|
||||||
for (let i = 0; i < this.state.config.personalities.length; i++) {
|
for (let i = 0; i < this.state.config.personalities.length; i++) {
|
||||||
const full_path_item = this.state.config.personalities[i]
|
const full_path_item = this.state.config.personalities[i]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user