Add stream dashboard ingestion

This commit is contained in:
2026-05-12 10:18:20 -05:00
parent c65b51c61c
commit c1d6032eb2
3 changed files with 160 additions and 0 deletions

View File

@@ -35,6 +35,24 @@ class ChatMessage(Base):
is_moderator = Column(Boolean, default=False)
class StreamDashboard(Base):
"""Stores the approved stream dashboard for a session."""
__tablename__ = "stream_dashboards"
session_id = Column(String, primary_key=True)
raw_markdown = Column(Text, nullable=False)
stream_title = Column(String, nullable=True)
game = Column(String, nullable=True)
mood = Column(String, nullable=True)
go_live_notification = Column(Text, nullable=True)
social_post = Column(Text, nullable=True)
session_goals = Column(Text, nullable=True) # JSON array of strings
content_angle = Column(Text, nullable=True)
created_at = Column(DateTime, default=datetime.utcnow, nullable=False)
updated_at = Column(DateTime, default=datetime.utcnow, nullable=False)
class AgentActionType(str, Enum):
"""Types of actions the agent can take."""