feat(im): mirror WeChat bot chats into AI chat as WeXin Bot conversation; add conversations.source; migrate history; remove redundant history page

This commit is contained in:
qyyfw committed 2026-07-10 10:09:49 +08:00
1 parent 7c71d193fc
commit 7b7871a14d
5 files changed
+1044 -955

No files matched your search

+1
View File
@@ -85,6 +85,7 @@ class Conversation(Base):
pinned = Column(Boolean, default=False)
knowledge_graph_count = Column(Integer, default=0)
knowledge_graph_base_id = Column(String(64), default=None, comment="已生成的知识图谱知识库ID")
source = Column(String(32), default=None, comment="对话来源,如 wechat_bot")
created_at = Column(DateTime, default=datetime.now)
updated_at = Column(DateTime, default=datetime.now, onupdate=datetime.now)