Commit f40e5825 by sunqi02 Committed by 胡悦

feat: add intent_session column to Session ORM model

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 8b2fc8d0
...@@ -10,5 +10,6 @@ class Session(Base): ...@@ -10,5 +10,6 @@ class Session(Base):
room_id = Column(String(191), nullable=False, default="", index=True) room_id = Column(String(191), nullable=False, default="", index=True)
channel = Column(String(64), nullable=False, default="wechat_group") channel = Column(String(64), nullable=False, default="wechat_group")
conversation_history = Column(Text, nullable=False, default="[]") conversation_history = Column(Text, nullable=False, default="[]")
intent_session = Column(Text, nullable=False, default="")
created_at = Column(DateTime, server_default=func.now(), nullable=False) created_at = Column(DateTime, server_default=func.now(), nullable=False)
updated_at = Column(DateTime, server_default=func.now(), onupdate=func.now(), nullable=False, index=True) updated_at = Column(DateTime, server_default=func.now(), onupdate=func.now(), nullable=False, index=True)
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!