- Removed tool call from tool role message

This commit is contained in:
T-BENZIN 2025-03-16 16:41:14 +05:00
parent c1cfbfa02d
commit e3c931650b

View File

@ -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