This commit is contained in:
Saifeddine ALOUI 2025-02-18 01:45:19 +01:00
parent 2acf0b9014
commit 681cc0e122
6 changed files with 11 additions and 8 deletions

@ -1 +1 @@
Subproject commit dbe4b2126c7490312b04888771d3870192bb70a1
Subproject commit d13e7f8070929ea136fa5e2e4cb277941af3221c

View File

@ -1744,6 +1744,8 @@ Don't forget encapsulate the code inside a markdown code tag. This is mandatory.
self.personality.new_message("")
output = fc.execute(**infos["function_parameters"])
self.personality.set_message_content(output)
elif fc.function_type == FunctionType.CONTEXT_UPDATE:
process_output = fc.process_output(context_details, process_output)
except Exception as ex:
trace_exception(ex)

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
View File

@ -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-Gok2LJ-Z.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-h6chh2-D.css">
<script type="module" crossorigin src="/assets/index-B_QZR9zU.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-Dx2EU4qT.css">
</head>
<body>
<div id="app"></div>

View File

@ -5118,8 +5118,9 @@ export default {
function_name: func.name,
});
if (response.data.status) {
await this.$store.dispatch('refreshConfig');
this.$store.state.messageBox.showMessage('Function mounted successfully', true);
func.mounted = false;
entry.mounted = false;
} else {
this.$store.state.messageBox.showMessage('Failed to mount function', false);
}
@ -5142,7 +5143,7 @@ export default {
await this.$store.dispatch('refreshConfig');
this.$store.state.toast.showToast('Function mounted successfully!', 4, true)
this.$store.state.messageBox.showMessage('Function unmounted successfully', true);
func.mounted = true
entry.mounted = true
} else {
this.$store.state.toast.showToast('Failed to unmount function', 4, false)
this.$store.state.messageBox.showMessage('Failed to unmount function', false);