add MoviePilot AI agent implementation and workflow manager

This commit is contained in:
jxxghp
2025-10-18 21:55:31 +08:00
parent ee71bafc96
commit 003781e903
24 changed files with 375 additions and 376 deletions

View File

@@ -0,0 +1,30 @@
from app.workflow.actions import BaseAction
from app.schemas import ActionContext
class NoteAction(BaseAction):
"""
备注
"""
@classmethod
@property
def name(cls) -> str: # noqa
return "备注"
@classmethod
@property
def description(cls) -> str: # noqa
return "给工作流添加备注"
@classmethod
@property
def data(cls) -> dict: # noqa
return {}
@property
def success(self) -> bool:
return True
def execute(self, workflow_id: int, params: dict, context: ActionContext) -> ActionContext:
return context