Merge pull request #26 from T-BENZIN/development

- Removed tool call from tool role message
This commit is contained in:
Hatt 2025-03-16 12:45:12 +01:00 committed by GitHub
commit ea391f7104
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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