Merge remote-tracking branch 'origin/main' into pr-1228

This commit is contained in:
Re-bin
2026-02-27 02:43:37 +00:00
5 changed files with 123 additions and 38 deletions
+2 -1
View File
@@ -101,7 +101,8 @@ class MessageTool(Tool):
try:
await self._send_callback(msg)
self._sent_in_turn = True
if channel == self._default_channel and chat_id == self._default_chat_id:
self._sent_in_turn = True
media_info = f" with {len(media)} attachments" if media else ""
return f"Message sent to {channel}:{chat_id}{media_info}"
except Exception as e: