chainlit icon indicating copy to clipboard operation
chainlit copied to clipboard

Cannot read properties of undefined (reading 'length')

Open deepak-joshi-colombo-and-hurd opened this issue 3 weeks ago • 12 comments
trafficstars

Describe the bug A clear and concise description of what the bug is.

Image

To Reproduce I have task list integrated in my chainlit frontend due to which it continuously shows the "Cannot read properties of undefined (reading 'length')"

  1. Click on send message it will come up with the response but after some time it will show something like shared in the screenshot.

Expected behavior It should just show the response and the task list not the buggy crash. I have no value in my state that is being shared as undefined.