mirror of
https://github.com/LiteyukiStudio/nonebot-plugin-marshoai.git
synced 2025-02-07 18:36:09 +08:00
✨ 更新marsho_status命令,添加当前适配器信息输出
This commit is contained in:
parent
032f55942f
commit
d6bbf140ad
@ -190,8 +190,9 @@ async def marsho_help():
|
||||
|
||||
|
||||
@marsho_status_cmd.handle()
|
||||
async def marsho_status():
|
||||
async def marsho_status(bot: Bot):
|
||||
await marsho_status_cmd.finish(
|
||||
f"当前适配器:{bot.adapter.get_name()}\n"
|
||||
f"当前使用的模型:{model_name}\n"
|
||||
# f"当前会话数量:{len(target_list)}\n"
|
||||
# f"当前上下文数量:{len(context.contexts)}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user