mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-11-29 21:33:01 +08:00
- Populate request.model with a normalized models/<baseModel> identifier when absent or blank before deleting top-level model in AntigravityExecutor.CountTokens, while preserving caller-supplied request.model values and falling back to top-level model if req.Model is empty. - Delete request.stream before payload finalization so non-counting streaming flags are stripped while user payload override and filter rules remain the final semantic barrier. - Add regression tests covering request.model population across all Antigravity request formats, passthrough normalization edge cases, request.stream stripping, and payload finalizer ordering. Closes: #7865