-
feat(translator): enhance content block handling and add stream-specific test
发布于
2026-06-16 16:41:08 +00:00 - Refactored content block start/stop logic into
startCodexTextBlockandstopCodexTextBlockfor better readability and reusability. - Updated logic to ensure proper handling of "output_text" block events to avoid ghost stop emissions.
- Added
TestConvertCodexResponseToClaude_StreamTextBeforeToolCallsDoesNotEmitGhostStopto validate content block start/stop behavior in streamed responses.
下载附件
- Refactored content block start/stop logic into