fix: remove Markdown parse_mode from Telegram messages

- Telegram API returns 400 Bad Request with invalid Markdown characters
- Switched to plain text mode (no parse_mode) to prevent errors
- Photo and voice processing now work correctly
- Fixes issue where vision-8b responses couldn't be sent to users
This commit is contained in:
Apple
2025-11-24 02:26:07 -08:00
parent ccebc2607d
commit 7168aaab1e

View File

@@ -1640,7 +1640,7 @@ async def send_telegram_message(chat_id: str, text: str, bot_token: str = None):
payload = {
"chat_id": chat_id,
"text": text,
"parse_mode": "Markdown",
# "parse_mode": "Markdown", # Removed to prevent 400 errors
}
try: