playreel/backend/models/motion.py
2026-09-02 09:37:58 +09:00

20 lines
293 B
Python

from pydantic import BaseModel
class MotionItem(BaseModel):
motion: str
what: str
class DroppedMotion(BaseModel):
motion: str
what: str
why: str
class MotionPlan(BaseModel):
prompt: str
has_qr: bool
kept: list[MotionItem]
dropped: list[DroppedMotion]