fix: some break change for markdown

Signed-off-by: yihong0618 <zouzou0208@gmail.com>
This commit is contained in:
yihong0618
2025-07-09 08:45:02 +08:00
parent 88b634be93
commit 2f8635cd91
12 changed files with 227 additions and 288 deletions

View File

@ -6,7 +6,7 @@ from expiringdict import ExpiringDict
from openai import OpenAI
from telebot import TeleBot
from telebot.types import Message
from telegramify_markdown import convert
from telegramify_markdown import markdownify
from . import *
@ -150,7 +150,7 @@ def yi_pro_handler(message: Message, bot: TeleBot) -> None:
player_message.append(
{
"role": "assistant",
"content": convert(s),
"content": markdownify(s),
}
)