Some checks are pending
Build and Push Docker Images / changes (push) Waiting to run
Build and Push Docker Images / build-backend (push) Blocked by required conditions
Build and Push Docker Images / build-frontend (push) Blocked by required conditions
Build and Push Docker Images / build-admin-frontend (push) Blocked by required conditions
12 lines
247 B
Python
12 lines
247 B
Python
from dataclasses import dataclass
|
|
from typing import Literal
|
|
|
|
|
|
@dataclass
|
|
class StoryOutput:
|
|
"""故事生成输出。"""
|
|
mode: Literal["generated", "enhanced"]
|
|
title: str
|
|
story_text: str
|
|
cover_prompt_suggestion: str
|