Garbled text after streaming

After configuring the streaming settings, I’m experiencing an issue where text appears garbled, as shown below. The encoding is set to UTF-8, but I’m now seeing text corruption that wasn’t happening before, as well as annotation-like marks (e.g., [1], [2]) appearing. Does anyone happen to know the cause of this?

I believe you forgot to attach something to your message