发布

  • feat(translator, pluginhost): add stream-specific response transformation support

    frostbyte_neo 发布于 2026-06-11 02:16:58 +00:00 | 648 次提交 在此版本后已推送到 main

    • 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.
    下载附件