correct the parameter passed to bot_reply_first in yi_handler

This commit is contained in:
F4ria 2024-04-11 20:36:21 +08:00
parent 82972d1cbd
commit 851af94994

View File

@ -45,7 +45,7 @@ def yi_handler(message: Message, bot: TeleBot) -> None:
who = "Yi"
# show something, make it more responsible
reply_id = bot_reply_first(message, {who}, bot)
reply_id = bot_reply_first(message, who, bot)
player_message.append({"role": "user", "content": m})
# keep the last 5, every has two ask and answer.