feat:工作流支持事件触发

This commit is contained in:
jxxghp
2025-07-22 20:23:53 +08:00
parent 2f1e55fa1e
commit e39a130306
9 changed files with 311 additions and 18 deletions

View File

@@ -1,15 +1,16 @@
from app.core.workflow import WorkFlowManager
from app.chain.workflow import WorkflowChain
def init_workflow():
"""
初始化动作
初始化工作流
"""
WorkFlowManager()
def stop_workflow():
"""
停止动作
停止工作流
"""
WorkFlowManager().stop()