发布

  • feat(translator): enhance content block handling and add stream-specific test

    frostbyte_neo 发布于 2026-06-16 16:41:08 +00:00

    • Refactored content block start/stop logic into startCodexTextBlock and stopCodexTextBlock for better readability and reusability.
    • Updated logic to ensure proper handling of "output_text" block events to avoid ghost stop emissions.
    • Added TestConvertCodexResponseToClaude_StreamTextBeforeToolCallsDoesNotEmitGhostStop to validate content block start/stop behavior in streamed responses.
    下载附件