From 9bb2837b53fd8d272aee6f4fa2e705308c89e83e Mon Sep 17 00:00:00 2001 From: mirivlad Date: Wed, 25 Feb 2026 00:46:13 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=D0=BA=D1=83=D1=80=D1=81=D0=B8=D0=B2=20?= =?UTF-8?q?=D0=BA=D0=BE=D0=BD=D1=82=D0=B5=D0=BA=D1=81=D1=82=D0=B0=20?= =?UTF-8?q?=E2=86=92=20=D0=B6=D0=B8=D1=80=D0=BD=D1=8B=D0=B9=20(Telegram=20?= =?UTF-8?q?Markdown=20v2)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - _Контекст_ не работал из-за экранирования подчёркивания - *Контекст* — работает корректно Version: 0.5.6 Co-authored-by: Qwen-Coder --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index fffc71a..59e652a 100644 --- a/bot.py +++ b/bot.py @@ -196,7 +196,7 @@ async def handle_ai_task(update: Update, text: str): # Формируем сообщение с информацией о контексте (как в qwen-code) context_info = f"📊 Контекст: {context_percent}%" - response_text = f"{full_output}\n\n_{context_info}_" + response_text = f"{full_output}\n\n*{context_info}*" # Отправляем ответ с разбивкой на части если нужно await send_long_message(update, response_text, parse_mode="Markdown")