mirror of
https://github.com/LiteyukiStudio/nonebot-plugin-marshoai.git
synced 2025-08-01 03:59:51 +00:00
✨ 添加依赖注入支持,重构函数调用上下文,优化插件加载机制
This commit is contained in:
@ -53,6 +53,8 @@ class ConfigModel(BaseModel):
|
||||
"""插件目录(不是工具)"""
|
||||
marshoai_devmode: bool = False
|
||||
"""开发者模式"""
|
||||
marshoai_plugins: list[str] = []
|
||||
"""marsho插件的名称列表,从pip安装的使用包名,从本地导入的使用路径"""
|
||||
|
||||
|
||||
yaml = YAML()
|
||||
|
Reference in New Issue
Block a user