Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve handling of streamed data in the chat feature
- Use TextDecoder with stream: true to properly decode multi-byte characters and JSON fragments - Retain partial lines in the buffer for correct processing across chunks - Ensure complete lines starting with 'data: ' are parsed correctly
- Loading branch information