Your lightweight open-source personal agent.
Python agent-frameworkai-agentai-agentschatbotchatopsdiscord-botllm-agentsllmslocal-llmmcpmodel-context-protocolmulti-agentopenai-compatibleopenclawpersonal-ai-assistantpythonself-hostedtelegram-bot-ai-assistantwebuiworkflow-automation
Merge remote-tracking branch 'origin/main' into pr-2520
Xubin Ren09ec9991e1b3
diff --cc nanobot/channels/telegram.pyindex 49d9cf257,35f9ad620..07ea7cb05--- a/nanobot/channels/telegram.py+++ b/nanobot/channels/telegram.py@@@ -498,10 -553,13 +553,15 @@@ class TelegramChannel(BaseChannel)if stream_id is not None and buf.stream_id is not None and buf.stream_id != stream_id:returnself._stop_typing(chat_id)+ if reply_to_message_id := meta.get("message_id"):+ try:+ await self._remove_reaction(chat_id, int(reply_to_message_id))+ except ValueError:+ pass+ chunks = split_message(buf.text, TELEGRAM_MAX_MESSAGE_LEN)+ primary_text = chunks[0] if chunks else buf.texttry:- html = _markdown_to_telegram_html(buf.text)+ html = _markdown_to_telegram_html(primary_text)await self._call_with_retry(self._app.bot.edit_message_text,chat_id=int_chat_id, message_id=buf.message_id,