langchain-ui
langchain-ui copied to clipboard
Long messages are hidden below the fold in the chat UI.
Describe the bug
When the LLM is writing long messages the window should scroll to the bottom of that message so the user doesn't have to scroll to see new tokens
coming in.
To Reproduce Steps to reproduce the behavior:
- Minimize the browser window
- Ask the chatbot to write a longer text
Expected behaviour The chat window should adaptively scroll to show the last token streamed.