bingocode 1.1.121 → 1.1.122
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/utils/messages.ts +4 -0
package/package.json
CHANGED
package/src/utils/messages.ts
CHANGED
|
@@ -3096,6 +3096,10 @@ export function handleMessageFromStream(
|
|
|
3096
3096
|
return
|
|
3097
3097
|
}
|
|
3098
3098
|
case 'content_block_stop':
|
|
3099
|
+
// Clear streaming text when a content block ends so there is no residual
|
|
3100
|
+
// render frame between this block's stop and the next block's start
|
|
3101
|
+
// (e.g. text block → tool_use block in the same message).
|
|
3102
|
+
onStreamingText?.(() => null)
|
|
3099
3103
|
return
|
|
3100
3104
|
case 'message_delta':
|
|
3101
3105
|
onSetStreamMode('responding')
|