Remove thinking parts from Chatflow's Memory #13645

Closed
opened 2026-02-21 19:13:08 -05:00 by yindo · 1 comment
Owner

Originally created by @Jimmy-L99 on GitHub (May 6, 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.

When using the reasoning model in chatflow for multiple rounds of conversations, it was found that the historical conversation information contains the part. Does this take up more context content? Could it be optimized that the historical dialogue part only includes the query and the final response?

2. Additional context or comments

Image

Image

3. Can you help us with this feature?

  • I am interested in contributing to this feature.
Originally created by @Jimmy-L99 on GitHub (May 6, 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. When using the reasoning model in chatflow for multiple rounds of conversations, it was found that the historical conversation information contains the <think> part. Does this take up more context content? Could it be optimized that the historical dialogue part only includes the query and the final response? ### 2. Additional context or comments ![Image](https://github.com/user-attachments/assets/86c170e4-4fb1-41fa-8768-b956b1d72a5a) ![Image](https://github.com/user-attachments/assets/fdf209d2-0880-4aa7-944a-910fdd3c69f7) ### 3. Can you help us with this feature? - [ ] I am interested in contributing to this feature.
yindo added the 🌊 feat:workflowperformanceProposalfeat:webapp labels 2026-02-21 19:13:08 -05:00
yindo closed this issue 2026-02-21 19:13:08 -05:00
Author
Owner

@alterxyz commented on GitHub (Jun 25, 2025):

Not currently. Web app is just displays the thinking when it detect<thinking>, and the entire app output is treated as a single unit.

This requires fine-grained memory control. Our built-in chatflow memory currently only includes user input and the app's complete output.

@alterxyz commented on GitHub (Jun 25, 2025): Not currently. Web app is just displays the thinking when it detect`<thinking>`, and the entire app output is treated as a single unit. This requires fine-grained memory control. Our built-in chatflow memory currently only includes user input and the app's complete output.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#13645