mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-10-22 15:44:58 +08:00
- Track cumulative usage snapshots from `usageMetadata` and `cpaUsageMetadata` across stream chunks - Defer terminal response event emission until usage frames arrive or the stream ends - Map `MAX_TOKENS` finish reason to `response.incomplete` status and incomplete output item states Closes: #6258