development #1

Merged
AllfatherHatt merged 157 commits from development into master 2025-06-14 15:47:26 +02:00
Showing only changes of commit f22c77e2a1 - Show all commits

View File

@ -212,7 +212,7 @@ class ReginaldCog(PermissionsMixin, BlacklistMixin, MemoryMixin, commands.Cog):
'content': response.choices[0].message.content, 'content': response.choices[0].message.content,
'tool_calls': tool_calls 'tool_calls': tool_calls
}) })
if isinstance(tool_calls, list) and tool_calls: if tool_calls:
for i_call in tool_calls: for i_call in tool_calls:
# Calling for necessary functions # Calling for necessary functions
func_name = i_call.function.name func_name = i_call.function.name