mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2025-03-03 20:30:31 +00:00
sync
This commit is contained in:
parent
544e07bca1
commit
dd5fee5073
@ -1741,11 +1741,12 @@ Don't forget encapsulate the code inside a markdown code tag. This is mandatory.
|
||||
infos = json.loads(code["content"])
|
||||
if infos["function_name"]==function_call["name"]:
|
||||
if fc.function_type == FunctionType.CLASSIC:
|
||||
self.personality.new_message("")
|
||||
output = fc.execute(**infos["function_parameters"])
|
||||
self.personality.new_message("")
|
||||
self.personality.set_message_content(output)
|
||||
if fc.function_type == FunctionType.CONTEXT_UPDATE:
|
||||
process_output = fc.process_output(context_details, client.generated_text)
|
||||
self.personality.new_message(process_output)
|
||||
except Exception as ex:
|
||||
trace_exception(ex)
|
||||
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 3a524c6099f9f7560fb167c6e3e220bfe6c5d361
|
||||
Subproject commit a8ee32375c0d95e2ddff60ed390d0fcbd6332f18
|
Loading…
x
Reference in New Issue
Block a user