Delayed Input in Embedded Chat using @n8n/chat

Hi everyone,

I’m experiencing a delay in the render of the input chat field when using the @n8n/chat package in an embedded chat. It seems that the delay is caused by the loadPreviousSession fetch action, which takes some time to complete before rendering the input field.

For this web project i’m using:

  • React: ^18.3.1
  • @n8n/chat: ^0.27.1
  • Vite: ^6.0.1

Before fetch:

After fetch:

This is how the workflow looks like:

Has anyone encountered this issue before? Is there a way to speed up the input rendering or prevent it from waiting for loadPreviousSession to complete? Any insights or workarounds would be greatly appreciated!

Thanks in advance!

Interesting. Does this happen with any browser / device / IP? What is your testing network speed?

Hi, it’s happens in all browser, regardless of internet speed.

Same issue here, it takes more than 30 seconds to render the textarea, any progress about this?
Actually it doesn’t happen if you select “Off” or “From memory” in the “Load previous session session” parameter but yes by default or in “Manually”

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.