deer-flow
deer-flow copied to clipboard
feat: Implement conversation history
Changes:
- Conversation history and langgraph event will be automatically when the checkpointing be configured
- Add Conversation History dialog in frontend
- Support Postgres and MongoDB as storage
- Auto create the following tables if you select Postgres as checkpointing db:
- chat-streams: Store all messages-chunks of the conversation
- checkpoint_blobs: Default table of langgraph checkpoint
- checkpoint_migrations: Default table of langgraph checkpoint
- checkpoint_writes: Default table of langgraph checkpoint
- checkpoints: Default table of langgraph checkpoint
- langgraph_events: Store all events of langgraph node
- research_replays: Store all research replays
- Auto create the following collections if you select MongoDB as checkpointing db:
- chat-streams: Store all messages-chunks of the conversation
- checkpoint_writes_aio: Default table of langgraph checkpoint
- checkpoint_aio: Default table of langgraph checkpoint
- langgraph_events: Store all events of langgraph node
- research_replays: Store all research replays
- UI features as following:
Need it, please review. @WillemJiang
@changxubo, could you take a look at the lint error of the web front-end?
@WillemJiang Fixed ,please review!
@WillemJiang Is this PR ready to be merged?
@WillemJiang @changxubo 你好,请问这个历史回放的代码什么时候可以合并到主分支,谢谢
或许这个功能在添加用户管理之后再合并到项目中会比较好,否则多用户情况下大家的历史记录不好管理,每个人都能看到别人的历史记录也不太好。
或许这个功能在添加用户管理之后再合并到项目中会比较好,否则多用户情况下大家的历史记录不好管理,每个人都能看到别人的历史记录也不太好。
的确,我们需要先实现用户管理功能之后才能合并这样的功能。