How memory filters out <think> content? #376

Closed
opened 2026-02-16 10:19:12 -05:00 by yindo · 3 comments
Owner

Originally created by @jiyif11 on GitHub (Jun 17, 2025).

Self Checks

  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

1. Is this request related to a challenge you're experiencing? Tell me about your story.

Using deepseek r1, the content added in multiple rounds of dialogue is also added to the assistant, which will increase the token cost.

I hope the llm module has a memory to filter the content

2. Additional context or comments

No response

3. Can you help us with this feature?

  • I am interested in contributing to this feature.
Originally created by @jiyif11 on GitHub (Jun 17, 2025). ### 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 this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [x] Please do not modify this template :) and fill in all the required fields. ### 1. Is this request related to a challenge you're experiencing? Tell me about your story. Using deepseek r1, the <think> content added in multiple rounds of dialogue is also added to the assistant, which will increase the token cost. I hope the llm module has a memory to filter the <think> content ### 2. Additional context or comments _No response_ ### 3. Can you help us with this feature? - [x] I am interested in contributing to this feature.
yindo closed this issue 2026-02-16 10:19:12 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Aug 18, 2025):

Hi, @jiyif11. I'm Dosu, and I'm helping the dify-official-plugins team manage their backlog and am marking this issue as stale.

Issue Summary

  • You requested a memory feature in the LLM module to filter out content accumulated over multiple dialogue rounds.
  • The goal is to reduce token costs when using deepseek r1.
  • You expressed interest in contributing to the development of this feature.
  • There has been no further activity or comments on this issue since your initial request.

Next Steps

  • Please let me know if this feature request is still relevant to the latest version of the dify-official-plugins repository by commenting on this issue.
  • If I do not hear back from you within 5 days, I will automatically close this issue.

Thank you for your understanding and contribution!

@dosubot[bot] commented on GitHub (Aug 18, 2025): Hi, @jiyif11. I'm [Dosu](https://dosu.dev), and I'm helping the dify-official-plugins team manage their backlog and am marking this issue as stale. **Issue Summary** - You requested a memory feature in the LLM module to filter out <think> content accumulated over multiple dialogue rounds. - The goal is to reduce token costs when using deepseek r1. - You expressed interest in contributing to the development of this feature. - There has been no further activity or comments on this issue since your initial request. **Next Steps** - Please let me know if this feature request is still relevant to the latest version of the dify-official-plugins repository by commenting on this issue. - If I do not hear back from you within 5 days, I will automatically close this issue. Thank you for your understanding and contribution!
Author
Owner

@jiyif11 commented on GitHub (Aug 19, 2025):

yes

@jiyif11 commented on GitHub (Aug 19, 2025): yes
Author
Owner

@dosubot[bot] commented on GitHub (Aug 19, 2025):

@crazywoola, could you please assist the user with their request for the memory feature in the LLM module? They confirmed the issue is still relevant.

@dosubot[bot] commented on GitHub (Aug 19, 2025): @crazywoola, could you please assist the user with their request for the memory feature in the LLM module? They confirmed the issue is still relevant.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-official-plugins#376