refactor(chat): refactor message chunks handling
Description
The changes in this MR update the message chunks handling when streaming a response message. The MR also fixed the test gap in testing the chat controller when streaming a message.
Related Issues
Resolves #1307 (closed)
How has this been tested?
- VScode desktop
- Web IDE
Screenshots (if appropriate)
No visual changes
Types of changes
-
Bug fix (non-breaking change which fixes an issue) -
New feature (non-breaking change which adds functionality) -
Breaking change (fix or feature that would cause existing functionality to change) -
Documentation -
Chore (Related to CI or Packaging to platforms) -
Test gap
Closes #1307 (closed)
Edited by Denys Mishunov