添加小棉工具弃用提示

This commit is contained in:
2024-12-24 00:29:48 +08:00
parent 1c74ddca7d
commit e4d9fef670
3 changed files with 5 additions and 4 deletions

View File

@ -117,6 +117,9 @@ async def _preload_tools():
logger.info(
"如果启用小棉工具后使用的模型出现报错,请尝试将 MARSHOAI_ENABLE_TOOLS 设为 false。"
)
logger.opt(colors=True).warning(
"<y>小棉工具已被弃用,可能会在未来版本中移除。</y>"
)
@driver.on_startup