From da5e3cc9e0dedf56fd71fdc5236afebaed67fcbe Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 1 Jul 2025 11:24:19 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=96=20=E8=87=AA=E5=8A=A8=E6=A0=BC?= =?UTF-8?q?=E5=BC=8F=E5=8C=96=E4=BB=A3=E7=A0=81=20[skip=20ci]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/tools/tool_can_use/rename_person_tool.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/tools/tool_can_use/rename_person_tool.py b/src/tools/tool_can_use/rename_person_tool.py index f3baaecd4..0651e0c2c 100644 --- a/src/tools/tool_can_use/rename_person_tool.py +++ b/src/tools/tool_can_use/rename_person_tool.py @@ -1,4 +1,4 @@ -from src.tools.tool_can_use.base_tool import BaseTool, register_tool +from src.tools.tool_can_use.base_tool import BaseTool from src.person_info.person_info import get_person_info_manager from src.common.logger import get_logger import time @@ -102,5 +102,3 @@ class RenamePersonTool(BaseTool): error_msg = f"重命名失败: {str(e)}" logger.error(error_msg, exc_info=True) return {"type": "info_error", "id": f"rename_error_{time.time()}", "content": error_msg} - -