增加了卸载和重载插件功能

This commit is contained in:
UnCLAS-Prommer
2025-07-22 18:52:11 +08:00
parent 22c7f667e9
commit 76025032a9
9 changed files with 258 additions and 271 deletions

View File

@@ -47,7 +47,6 @@ class ActionModifier:
async def modify_actions(
self,
history_loop=None,
message_content: str = "",
): # sourcery skip: use-named-expression
"""
@@ -318,7 +317,7 @@ class ActionModifier:
action_name: str,
action_info: ActionInfo,
chat_content: str = "",
) -> bool:
) -> bool: # sourcery skip: move-assign-in-block, use-named-expression
"""
使用LLM判定是否应该激活某个action