mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2025-04-24 04:55:44 +00:00
Done
This commit is contained in:
parent
8579bcb455
commit
2acf0b9014
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
4
web/dist/index.html
vendored
@ -6,8 +6,8 @@
|
||||
<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-D9m10VKS.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-CtEAmk75.css">
|
||||
<script type="module" crossorigin src="/assets/index-Gok2LJ-Z.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-h6chh2-D.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
|
@ -182,12 +182,12 @@ export default {
|
||||
},
|
||||
mount() {
|
||||
console.log("Mounting")
|
||||
this.onMount(this.function_call)
|
||||
this.onMount(this)
|
||||
},
|
||||
unmount() {
|
||||
console.log("Unmounting")
|
||||
console.log(this.onUnMount)
|
||||
this.onUnMount(this.function_call)
|
||||
this.onUnMount(this)
|
||||
this.mounted=false
|
||||
},
|
||||
showHelp() {
|
||||
|
@ -5109,7 +5109,8 @@ export default {
|
||||
},
|
||||
|
||||
// Mount a function
|
||||
async mountFunction(func) {
|
||||
async mountFunction(entry) {
|
||||
const func = entry.function_call
|
||||
try {
|
||||
const response = await axios.post('/mount_function_call', {
|
||||
client_id: this.$store.state.client_id,
|
||||
@ -5129,7 +5130,8 @@ export default {
|
||||
},
|
||||
|
||||
// Unmount a function
|
||||
async unmountFunction(func) {
|
||||
async unmountFunction(entry) {
|
||||
const func = entry.function_call
|
||||
try {
|
||||
console.log("Unmounting function")
|
||||
const response = await axios.post('/unmount_function_call', {
|
||||
|
Loading…
x
Reference in New Issue
Block a user