Describe the bug
The "Buffer Window Memory" node is no longer applying the limit in window memory that is set.
Issue can be reproduced in 2.0.1, but not in 1.8.3.
To Reproduce
- Create a new basic flow with LLM model, Conversation Chain and Buffer Window Memory.
- Set the window memory size to 0.
- Send a message to the conversation, e.g "I'm Daniel"
- Ask the LLM about the previous information, e.g "What's my name?"
Expected behavior
LLM should respond "I don't know" because window memory size is 0, so no messages should be remembered.
Instead, window memory limitation is never applied so all history seems to be stored, regardless of the value set. Can also be reproduced with other values like 1.
Setup
- Installation: docker, pnpm start
- Flowise Version: 2.0.1
- OS: macOS, linux
- Browser: Chrome
Describe the bug
The "Buffer Window Memory" node is no longer applying the limit in window memory that is set.
Issue can be reproduced in 2.0.1, but not in 1.8.3.
To Reproduce
Expected behavior
LLM should respond "I don't know" because window memory size is 0, so no messages should be remembered.
Instead, window memory limitation is never applied so all history seems to be stored, regardless of the value set. Can also be reproduced with other values like 1.
Setup