From 851af949948163e50336c690c36be2f9f9e8f6cd Mon Sep 17 00:00:00 2001 From: F4ria Date: Thu, 11 Apr 2024 20:36:21 +0800 Subject: [PATCH] correct the parameter passed to bot_reply_first in yi_handler --- handlers/yi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handlers/yi.py b/handlers/yi.py index 08cd20c..6442b21 100644 --- a/handlers/yi.py +++ b/handlers/yi.py @@ -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.