Files
CLIProxyAPI/sdk/translator
Luis Pater 44d1ddf538 fix(pluginhost): translate plugin count_tokens replies as token counts
- 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
2026-10-24 20:42:19 +08:00
..
2025-09-25 10:32:48 +08:00