From 5246a0bb34cd5c3d1e2dc8182cd5218d3e96f8e9 Mon Sep 17 00:00:00 2001 From: UnCLAS-Prommer Date: Sun, 3 Aug 2025 09:40:58 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=9F=90=E4=B8=AA=E5=87=BA?= =?UTF-8?q?=E9=94=99=E7=9A=84typing=E9=97=AE=E9=A2=98=E4=BD=86=E9=97=AE?= =?UTF-8?q?=E9=A2=98=E6=B2=A1=E6=9C=89=E6=A0=B9=E6=9C=AC=E8=A7=A3=E5=86=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/chat/chat_loop/heartFC_chat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chat/chat_loop/heartFC_chat.py b/src/chat/chat_loop/heartFC_chat.py index efa8f69b9..d51fa96b0 100644 --- a/src/chat/chat_loop/heartFC_chat.py +++ b/src/chat/chat_loop/heartFC_chat.py @@ -414,7 +414,7 @@ class HeartFChatting: else: logger.warning(f"{self.log_prefix} 预生成的回复任务未生成有效内容") - action_message: Dict[str, Any] = message_data or target_message # type: ignore + action_message = message_data or target_message if action_type == "reply": # 等待回复生成完毕 if self.loop_mode == ChatMode.NORMAL: