拆镜复刻、爆款开头复刻抽象公共逻辑,拆镜复刻关联项目步骤状态BUG修复

This commit is contained in:
2026-06-18 13:03:11 +08:00
parent 158c680a18
commit 0be8091181
6 changed files with 1093 additions and 962 deletions
@@ -0,0 +1,26 @@
from __future__ import annotations
from dataclasses import dataclass
from typing import Mapping
@dataclass(frozen=True, slots=True)
class ModuleGenerationFlowConfig:
"""模块生成流程公共配置。
这个配置只描述两个复刻模块的差异点,不承载具体业务逻辑。
具体日志、退款、生成、回调等仍保留在各自模块 service 中。
"""
module: str
step_index_map: Mapping[str, int]
material_step_code: str
image_prompt_step_code: str
image_generate_step_code: str
video_prompt_step_code: str
video_generate_step_code: str
project_not_found_message: str
step_not_found_message: str
cancel_chat_task_error_message: str
material_video_url_editable: bool = True
step_io_schema_version: str = "module_generation_step_io_v1"