mirror of https://github.com/Mai-with-u/MaiBot.git
Merge branch 'dev' of https://github.com/MaiM-with-u/MaiBot into dev
commit
de0ea75832
|
|
@ -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.person_info.person_info import get_person_info_manager
|
||||||
from src.common.logger import get_logger
|
from src.common.logger import get_logger
|
||||||
import time
|
import time
|
||||||
|
|
@ -102,5 +102,3 @@ class RenamePersonTool(BaseTool):
|
||||||
error_msg = f"重命名失败: {str(e)}"
|
error_msg = f"重命名失败: {str(e)}"
|
||||||
logger.error(error_msg, exc_info=True)
|
logger.error(error_msg, exc_info=True)
|
||||||
return {"type": "info_error", "id": f"rename_error_{time.time()}", "content": error_msg}
|
return {"type": "info_error", "id": f"rename_error_{time.time()}", "content": error_msg}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue