From 1e70418efdefc5634cb02275213744ee951870e5 Mon Sep 17 00:00:00 2001 From: tt-P607 <68868379+tt-P607@users.noreply.github.com> Date: Sat, 11 Oct 2025 00:46:26 +0800 Subject: [PATCH] =?UTF-8?q?refactor(chat):=20=E7=AE=80=E5=8C=96=E6=89=93?= =?UTF-8?q?=E6=96=AD=E8=AE=A1=E6=95=B0=E9=87=8D=E7=BD=AE=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/chat/planner_actions/action_manager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/chat/planner_actions/action_manager.py b/src/chat/planner_actions/action_manager.py index caf720da7..e7ff21ad4 100644 --- a/src/chat/planner_actions/action_manager.py +++ b/src/chat/planner_actions/action_manager.py @@ -345,10 +345,10 @@ class ChatterActionManager: context = chat_stream.context_manager if context.context.interruption_count > 0: old_count = context.context.interruption_count - old_afc_adjustment = context.context.get_afc_threshold_adjustment() + # old_afc_adjustment = context.context.get_afc_threshold_adjustment() await context.context.reset_interruption_count() logger.debug( - f"动作执行成功,重置聊天流 {stream_id} 的打断计数: {old_count} -> 0, afc调整: {old_afc_adjustment} -> 0" + f"动作执行成功,重置聊天流 {stream_id} 的打断计数: {old_count} -> 0" ) except Exception as e: logger.warning(f"重置打断计数时出错: {e}")