mirror of
https://github.com/LiteyukiStudio/nonebot-plugin-marshoai.git
synced 2025-02-07 02:46:10 +08:00
添加小棉工具弃用提示
This commit is contained in:
parent
1c74ddca7d
commit
e4d9fef670
1
.gitignore
vendored
1
.gitignore
vendored
@ -190,3 +190,4 @@ docs/.vitepress/dist
|
|||||||
result.json
|
result.json
|
||||||
|
|
||||||
data/*
|
data/*
|
||||||
|
marshoplugins/*
|
||||||
|
@ -117,6 +117,9 @@ async def _preload_tools():
|
|||||||
logger.info(
|
logger.info(
|
||||||
"如果启用小棉工具后使用的模型出现报错,请尝试将 MARSHOAI_ENABLE_TOOLS 设为 false。"
|
"如果启用小棉工具后使用的模型出现报错,请尝试将 MARSHOAI_ENABLE_TOOLS 设为 false。"
|
||||||
)
|
)
|
||||||
|
logger.opt(colors=True).warning(
|
||||||
|
"<y>小棉工具已被弃用,可能会在未来版本中移除。</y>"
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
@driver.on_startup
|
@driver.on_startup
|
||||||
|
@ -2,9 +2,6 @@ import json
|
|||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
from nonebot import require
|
from nonebot import require
|
||||||
|
|
||||||
require("nonebot_plugin_localstore")
|
|
||||||
|
|
||||||
from nonebot_plugin_localstore import get_plugin_data_file # type: ignore
|
from nonebot_plugin_localstore import get_plugin_data_file # type: ignore
|
||||||
|
|
||||||
from nonebot_plugin_marshoai.plugin import ( # type: ignore
|
from nonebot_plugin_marshoai.plugin import ( # type: ignore
|
||||||
|
Loading…
x
Reference in New Issue
Block a user