mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-02-28 20:46:42 +08:00
Guard the openai-response streaming path against truncated/invalid SSE data payloads by validating data: JSON before forwarding; surface a 502 terminal error instead of letting clients crash with JSON parse errors.