From e4d9fef6708fd5affeef022f148af729e083c86f Mon Sep 17 00:00:00 2001 From: Asankilp Date: Tue, 24 Dec 2024 00:29:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=B0=8F=E6=A3=89=E5=B7=A5?= =?UTF-8?q?=E5=85=B7=E5=BC=83=E7=94=A8=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 3 ++- nonebot_plugin_marshoai/azure.py | 3 +++ nonebot_plugin_marshoai/plugins/marshoai_memory/__init__.py | 3 --- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 1904f119..5fb2775a 100755 --- a/.gitignore +++ b/.gitignore @@ -189,4 +189,5 @@ docs/.vitepress/dist # viztracer result.json -data/* \ No newline at end of file +data/* +marshoplugins/* diff --git a/nonebot_plugin_marshoai/azure.py b/nonebot_plugin_marshoai/azure.py index 4384eb4e..96c2dc83 100644 --- a/nonebot_plugin_marshoai/azure.py +++ b/nonebot_plugin_marshoai/azure.py @@ -117,6 +117,9 @@ async def _preload_tools(): logger.info( "如果启用小棉工具后使用的模型出现报错,请尝试将 MARSHOAI_ENABLE_TOOLS 设为 false。" ) + logger.opt(colors=True).warning( + "小棉工具已被弃用,可能会在未来版本中移除。" + ) @driver.on_startup diff --git a/nonebot_plugin_marshoai/plugins/marshoai_memory/__init__.py b/nonebot_plugin_marshoai/plugins/marshoai_memory/__init__.py index 851c25b3..5f35252c 100644 --- a/nonebot_plugin_marshoai/plugins/marshoai_memory/__init__.py +++ b/nonebot_plugin_marshoai/plugins/marshoai_memory/__init__.py @@ -2,9 +2,6 @@ from pathlib import Path from nonebot import require - -require("nonebot_plugin_localstore") - from nonebot_plugin_localstore import get_plugin_data_file # type: ignore from nonebot_plugin_marshoai.plugin import ( # type: ignore