From 35e04a2f0c9c3380e1c5d47467cba53ddc55c8d3 Mon Sep 17 00:00:00 2001 From: anor Date: Mon, 30 Mar 2026 17:52:51 +1000 Subject: [PATCH] =?UTF-8?q?fix:=20=D1=83=D0=B1=D1=80=D0=B0=D0=BD=20=D0=BF?= =?UTF-8?q?=D1=80=D0=B5=D1=84=D0=B8=D0=BA=D1=81=20'=D0=B3=D0=BE=D0=BB?= =?UTF-8?q?=D0=BE=D1=81=D0=BE=D0=B2=D0=BE=D0=B9'=20=E2=80=94=20Claude=20?= =?UTF-8?q?=D0=BF=D1=83=D1=82=D0=B0=D0=BB=D1=81=D1=8F=20=D0=B8=20=D0=BE?= =?UTF-8?q?=D1=82=D0=B2=D0=B5=D1=87=D0=B0=D0=BB=20=D0=BF=D1=80=D0=BE=20?= =?UTF-8?q?=D0=B3=D0=BE=D0=BB=D0=BE=D1=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Транскрибированный текст отправляется as-is, без пометок. Co-Authored-By: Claude Opus 4.6 (1M context) --- src/smeta_railway/ai/telegram_bot.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/smeta_railway/ai/telegram_bot.py b/src/smeta_railway/ai/telegram_bot.py index a401575..3739a16 100644 --- a/src/smeta_railway/ai/telegram_bot.py +++ b/src/smeta_railway/ai/telegram_bot.py @@ -359,9 +359,6 @@ async def voice_message(update: Update, context: ContextTypes.DEFAULT_TYPE): logger.info(f"Voice transcription for user {user_id}: {text[:200]}") await wait_msg.edit_text(f"🤔 «{text[:100]}{'...' if len(text) > 100 else ''}»\nДумаю...") - # Prefix so Claude knows this is a transcribed voice question - text = f"[Голосовой вопрос пользователя]: {text}" - except Exception as e: logger.error(f"Voice transcription error: {e}") await wait_msg.edit_text(f"Ошибка распознавания: {e}")