How does dify manager the chat history? #2956

Closed
opened 2026-02-21 17:52:03 -05:00 by yindo · 0 comments
Owner

Originally created by @lx1054331851 on GitHub (May 6, 2024).

Self Checks

  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit report (我已阅读并同意 Language Policy).
  • Pleas do not modify this template :) and fill in all the required fields.

Provide a description of requested docs changes

  1. I want to know the way that dify manages the chat history in a default chat bot:
  • Send all historical information to LLM.
  • Summarize the previous conversation history and then send it to LLM.
  • Maintain a constant number of historical conversations.
  1. In agent bot, the way that dify manages the chat history, Especially web information collected through web scraping.
  • Send all historical information to LLM.
  • Summarize the previous conversation history and then send it to LLM.
  • Maintain a constant number of historical conversations.
Originally created by @lx1054331851 on GitHub (May 6, 2024). ### Self Checks - [X] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [X] I confirm that I am using English to submit report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [X] Pleas do not modify this template :) and fill in all the required fields. ### Provide a description of requested docs changes 1. I want to know the way that dify manages the chat history in a default chat bot: - Send all historical information to LLM. - Summarize the previous conversation history and then send it to LLM. - Maintain a constant number of historical conversations. 2. In agent bot, the way that dify manages the chat history, Especially web information collected through web scraping. - Send all historical information to LLM. - Summarize the previous conversation history and then send it to LLM. - Maintain a constant number of historical conversations.
yindo closed this issue 2026-02-21 17:52:03 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#2956