mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-09-03 06:35:00 +08:00
- Add Grok client detection via User-Agent (including Gin context fallback) in a new `grokbuild` helper. - Transform keepalive SSE `event`/`data` frames into `: keepalive` comments when streaming to Grok clients. - Keep keepalive frames untouched for non-Grok clients while preserving existing stream translation behavior. Closes: #5171