@applica-software-guru/persona-sdk 0.1.87 → 0.1.90

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/bundle.es.js CHANGED
@@ -32,7 +32,7 @@ function ee(h) {
32
32
  } : i && _.type === i.type && _.protocol === i.protocol && i.role === _.role && // CRITICAL: Only merge if the new message has the same ID (streaming chunks)
33
33
  // OR if the current message doesn't have a finishReason yet (still streaming)
34
34
  // This preserves branches while allowing streaming to work
35
- (_.id === i.id || !i.finishReason) ? (i.text += _.text, i.file = i.file || _.file, i.finishReason = _.finishReason || i.finishReason, i.id = i.id || _.id) : (i && f.push(i), i = {
35
+ (_.id === i.id || !i.finishReason) ? (i.text += _.text, i.file = i.file || _.file, i.finishReason = _.finishReason || i.finishReason, i.id = i.id || _.id, i.sources = i.sources ? [...i.sources || [], ..._.sources || []] : _.sources) : (i && f.push(i), i = {
36
36
  ..._,
37
37
  text: _.file ? "" : _.text,
38
38
  finishReason: _.file ? void 0 : _.finishReason