SurfSense/surfsense_backend/app/podcasts/generation/brief/state.py

14 lines
326 B
Python

"""Mutable state threaded through the brief-planning graph."""
from __future__ import annotations
from dataclasses import dataclass
from app.podcasts.schemas import PodcastSpec
@dataclass
class BriefState:
"""The proposed spec the graph produces; inputs arrive via the config."""
spec: PodcastSpec | None = None