mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-10-09 09:12:33 +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