From 010fec7a535fd5297ba2c7d8ac17a50808493b78 Mon Sep 17 00:00:00 2001 From: SengokuCola <1026294844@qq.com> Date: Thu, 1 May 2025 18:02:13 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=8D=E6=9E=84=EF=BC=9A=E7=A7=BB=E9=99=A4?= =?UTF-8?q?=E4=B8=8D=E5=86=8D=E4=BD=BF=E7=94=A8=E7=9A=84reasoning=5Fprompt?= =?UTF-8?q?=5Fbuilder=EF=BC=8C=E4=BC=98=E5=8C=96=E5=BF=83=E6=B5=81?= =?UTF-8?q?=E6=8E=A7=E5=88=B6=E9=80=BB=E8=BE=91=EF=BC=8C=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E8=81=8A=E5=A4=A9=E5=93=8D=E5=BA=94=E7=94=9F=E6=88=90=E6=96=B9?= =?UTF-8?q?=E5=BC=8F=EF=BC=8C=E7=AE=80=E5=8C=96=E4=BB=A3=E7=A0=81=E7=BB=93?= =?UTF-8?q?=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/plugins/heartFC_chat/heartFC_sender.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/heartFC_chat/heartFC_sender.py b/src/plugins/heartFC_chat/heartFC_sender.py index 33585f1af..6be3ecd0f 100644 --- a/src/plugins/heartFC_chat/heartFC_sender.py +++ b/src/plugins/heartFC_chat/heartFC_sender.py @@ -5,7 +5,6 @@ from ..chat.message import MessageSending, MessageThinking # 只保留 MessageS from ..message import global_api from ..storage.storage import MessageStorage from ..chat.utils import truncate_message -from src.plugins.message.api import global_api from src.common.logger_manager import get_logger from src.plugins.chat.utils import calculate_typing_time @@ -145,3 +144,4 @@ class HeartFCSender: logger.error(f"[{chat_id}] 处理或存储消息 {message_id} 时出错: {e}") # 重新抛出异常,让调用者知道失败了 raise e +