development #1
@ -213,7 +213,6 @@ class ReginaldCog(PermissionsMixin, BlacklistMixin, MemoryMixin, commands.Cog):
|
|||||||
messages.append({
|
messages.append({
|
||||||
'role': 'tool',
|
'role': 'tool',
|
||||||
'content': func_result,
|
'content': func_result,
|
||||||
'tool_calls': tool_calls,
|
|
||||||
'tool_call_id': tool_call_id,
|
'tool_call_id': tool_call_id,
|
||||||
})
|
})
|
||||||
# Second completion required if functions has been called to interpret the result into user-friendly
|
# Second completion required if functions has been called to interpret the result into user-friendly
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user