Skip to content

Chatbot UI on AgentFlow V2 is extremely slow and heavy #5246

@bodzebod

Description

@bodzebod

Describe the bug

Hi,
When setting up an agent flow V2, if I switch on "Show agent reasonings when using Agentflow" in "Share Chatbot" settings and opens the Flowise chatbot UI, the browser becomes quite sluggish, even freezes and sometimes fails with an out of memory error.
This is a problem as showing the reasoning is often the best way to identify where a flow is failing. But its UI implementation makes it unusable.

To Reproduce

  1. create an agent flow V2 with several nodes
  2. In "share chatbot" settings, enable "Show agent reasonings when using Agentflow" and make it public
  3. Open the chatbot UI
  4. Send a question

Expected behavior

The browser should not fail or freeze, the experience should be smooth for the user

Screenshots

No response

Flow

No response

Use Method

Docker

Flowise Version

3.0.7

Operating System

Windows

Browser

Edge

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions