mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-09-11 06:37:47 +08:00
- Check that `finish_reason` is a non-empty string before mapping to Gemini `finishReason`. - Prevent chunks or messages with `null` or empty `finish_reason` from emitting unexpected completion statuses. Closes: #5651