Merge pull request #26 from T-BENZIN/development

- Removed tool call from tool role message
This commit is contained in:
2025-03-16 12:45:12 +01:00
committed by GitHub
-1
View File
@@ -213,7 +213,6 @@ class ReginaldCog(PermissionsMixin, BlacklistMixin, MemoryMixin, commands.Cog):
messages.append({
'role': 'tool',
'content': func_result,
'tool_calls': tool_calls,
'tool_call_id': tool_call_id,
})
# Second completion required if functions has been called to interpret the result into user-friendly