feat(plugin_system): 添加ON_STOP事件类型
为插件系统增加ON_STOP事件,用于处理程序停止时的任务。
This commit is contained in:
committed by
Windpicker-owo
parent
796daf8ddc
commit
38032e43d7
@@ -80,6 +80,7 @@ class EventType(Enum):
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
ON_START = "on_start" # 启动事件,用于调用按时任务
|
ON_START = "on_start" # 启动事件,用于调用按时任务
|
||||||
|
ON_STOP ="on_stop"
|
||||||
ON_MESSAGE = "on_message"
|
ON_MESSAGE = "on_message"
|
||||||
ON_PLAN = "on_plan"
|
ON_PLAN = "on_plan"
|
||||||
POST_LLM = "post_llm"
|
POST_LLM = "post_llm"
|
||||||
|
|||||||
Reference in New Issue
Block a user