mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-10-11 02:00:04 +08:00
- Track trailing carriage returns across chunk boundaries in `sseJSONValidationState`. - Strip leading newline in subsequent chunks to prevent duplicate newline insertion from split CRLF sequences. - Reset trailing carriage return state upon stream completion. Closes: #5657