Skip to content

Commit

Permalink
添加小棉工具弃用提示
Browse files Browse the repository at this point in the history
  • Loading branch information
Asankilp committed Dec 23, 2024
1 parent 1c74ddc commit e4d9fef
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -189,4 +189,5 @@ docs/.vitepress/dist
# viztracer
result.json

data/*
data/*
marshoplugins/*
3 changes: 3 additions & 0 deletions nonebot_plugin_marshoai/azure.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,9 @@ async def _preload_tools():
logger.info(
"如果启用小棉工具后使用的模型出现报错,请尝试将 MARSHOAI_ENABLE_TOOLS 设为 false。"
)
logger.opt(colors=True).warning(
"<y>小棉工具已被弃用,可能会在未来版本中移除。</y>"
)


@driver.on_startup
Expand Down
3 changes: 0 additions & 3 deletions nonebot_plugin_marshoai/plugins/marshoai_memory/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e4d9fef

Please sign in to comment.