mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-10-26 17:41:33 +08:00
- Treat cancellation after an emitted terminal event as successful completion while retaining observed token usage. - Preserve buffered usage on genuine stream failures and share terminal detection with Vertex. - Add regression coverage for terminal disconnects, EOF, usage tails, and read errors. Closes: #6821