Skip to content

[BUG] Buffer Window Memory not working as expected #2920

@danieldabate

Description

@danieldabate

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

  1. Create a new basic flow with LLM model, Conversation Chain and Buffer Window Memory.
  2. Set the window memory size to 0.
  3. Send a message to the conversation, e.g "I'm Daniel"
  4. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions