Agent chat scrolling issue

Hello!

Has anyone noticed that in agent chat, the autoscroll doesn't work?
My agent has a long workflow, so user would need to constantly scroll down, unlike the LLM chat component.

ya, I solved this by anytime a new message is added I call messageListView.scrollToIndex(messageListView.data?.length)

I can't find the messageListView that you are referring too, mine is simply agentChat1 and via control component there isn't the scrolling to the bottom choice

I have the same issue of no autoscroll for long workflows within agents.

I believe @bobthebear is referring to creating a message history via the ListView component with agents integrated. A trigger would be set up to autoscroll the latest message via something like messageListView.scrollToIndex(messageListView.data?.length)

1 Like

Hi @wonka,

I can make a feature request for us to add in auto scroll to the agent chat component :+1:

Thanks, but I think it should be a bug fix, since this isn't a problem on the normal LLM chat, right?

Hi @wonka, I would say that yes the two chats should definitely have feature parity. The newer agent chat missing auto scroll is likely an oversight. A bug would be if it sometimes worked or half worked :sweat_smile:

The scrolling for Agent chat is currently manual and this chat along with the +1s have been linked so I will follow up with any news I hear from the engineers!

1 Like