mirror of
https://github.com/ParisNeo/lollms.git
synced 2025-01-21 03:55:01 +00:00
enhanced
This commit is contained in:
parent
4f7bd10356
commit
f39f114603
@ -3367,7 +3367,7 @@ The AI should respond in this format using data from actions_list:
|
|||||||
|
|
||||||
for call in function_calls:
|
for call in function_calls:
|
||||||
keys = [k for k in call.keys()]
|
keys = [k for k in call.keys()]
|
||||||
if not "function_name" in keys:
|
if not ("function_name" in keys):
|
||||||
key = keys[0] if len(keys)>0 else None
|
key = keys[0] if len(keys)>0 else None
|
||||||
d = call[key] if key else None
|
d = call[key] if key else None
|
||||||
function_name = key
|
function_name = key
|
||||||
|
Loading…
Reference in New Issue
Block a user