Skip to content

Do not send empty strings as a chunk

Nicolas Dular requested to merge nd/skip-empty-chunks into master

What does this MR do and why?

Do not send empty strings as a chunk

We do not need to send an empty string as a chunk to the chat. Also, the frontend currently doesn't handle empty strings and breaks up the stream. We therefore skip empty strings now.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Nicolas Dular

Merge request reports