Open
Description
Prerequisites
- I am running the latest code. Mention the version if possible as well.
- I carefully followed the README.md.
- I searched using keywords relevant to my issue to make sure that I am creating a new issue that is not already open (or closed).
- I reviewed the Discussions, and have a new and useful enhancement to share.
Feature Description
Currently, if the UI got an error while it's generating the text, it will throw away the generating message.
The most simple way to test is to Ctrl+C to kill the server while it's generating a response.
The expected behavior is to show a meaningful error like what they do on chatgpt

Motivation
N/A
Possible Implementation
No response