astrbot_plugin_imagestudio/engines/quick_profile_flow.py

33 行
995 B
Python

2026-07-05 09:35:49 +08:00
"""Quick profile workflow templates."""
from __future__ import annotations
from typing import Any
def quick_profile_node_templates() -> list[dict[str, Any]]:
return [
{
"node_key": "questionnaire",
"title": "Questionnaire",
"description": "User answers and normalized draft profile.",
"step_name": "questionnaire",
"node_type": "profile_draft",
"status": "draft",
"branch_name": "main",
"sort_order": 10,
"metadata": {"template": "quick_profile_v1"},
},
{
"node_key": "preview",
"title": "Preview",
"description": "Preview prompts before saving a character profile.",
"step_name": "preview",
"node_type": "profile_preview",
"status": "draft",
"branch_name": "main",
"sort_order": 20,
"metadata": {"template": "quick_profile_v1"},
},
]