mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-09-11 22:58:08 +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