mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-11-19 16:29:45 +08:00
- Route cross-format plugin executor count_tokens responses through sdktranslator.TranslateTokenCount when a valid token count and registered token-count transformer exist. - Add sdktranslator.HasTokenCountTransformer and fallback handling so same-format replies, unrecognized payloads, and custom response translators retain existing behavior. Closes: #6938