@eshal-bot/chat-widget 0.1.109 → 0.1.110
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/dist/chat-widget.js +5 -2
- package/package.json +1 -1
package/dist/chat-widget.js
CHANGED
|
@@ -8523,8 +8523,11 @@
|
|
|
8523
8523
|
// unlocks at last-token time) and delivers the chips afterwards
|
|
8524
8524
|
// as their own {type:'follow_up_prompts'} chunk on the same
|
|
8525
8525
|
// stream. Attach them to the already-finalized assistant
|
|
8526
|
-
// message.
|
|
8527
|
-
//
|
|
8526
|
+
// message. EV-3081: this chunk now arrives on EVERY outcome and
|
|
8527
|
+
// carries `promptsStatus` ("delivered" | "empty" | "timeout" |
|
|
8528
|
+
// "error"); a dropped set arrives as the chunk with no `prompts`,
|
|
8529
|
+
// where it used to be no chunk at all. The empty guard below is
|
|
8530
|
+
// what keeps that a no-op here rather than a chip-clearing write.
|
|
8528
8531
|
if (parsed.type === 'follow_up_prompts') {
|
|
8529
8532
|
const latePrompts = Array.isArray(parsed.prompts) ? parsed.prompts : [];
|
|
8530
8533
|
if (latePrompts.length > 0) {
|