mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-06-22 02:52:46 +08:00
- Introduced `HasStreamResponseTransformer` and `HasNonStreamResponseTransformer` to handle streaming and non-streaming transformations. - Updated `executorResponseTranslatorExists` logic to correctly validate stream-specific transformers. - Enhanced `TranslateStream` to suppress raw fallback when registered native transformers return empty output. - Added comprehensive tests (`TestHasResponseTransformerChecksConcreteResponseKinds`, `TestHasResponseTransformerIgnoresEmptyRegistration`) for stream and non-stream transformer validation.