@tangle-network/agent-app 0.43.34 → 0.43.36
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/assistant/index.js +1 -1
- package/dist/{chunk-4M6NUHKU.js → chunk-D4HB72W2.js} +3 -2
- package/dist/chunk-D4HB72W2.js.map +1 -0
- package/dist/{chunk-VG6U7FAB.js → chunk-QBHYHPPL.js} +22 -5
- package/dist/chunk-QBHYHPPL.js.map +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -1
- package/dist/sandbox/index.d.ts +19 -4
- package/dist/sandbox/index.js +3 -1
- package/dist/web-react/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-4M6NUHKU.js.map +0 -1
- package/dist/chunk-VG6U7FAB.js.map +0 -1
package/dist/assistant/index.js
CHANGED
|
@@ -448,7 +448,8 @@ function dispatchChatStreamLine(line, cb) {
|
|
|
448
448
|
break;
|
|
449
449
|
}
|
|
450
450
|
case "error": {
|
|
451
|
-
const
|
|
451
|
+
const data = evt.data;
|
|
452
|
+
const message = String(data?.message ?? evt.details ?? evt.error ?? "Unknown stream error");
|
|
452
453
|
if (cb.onErrorEvent) {
|
|
453
454
|
cb.onErrorEvent(message);
|
|
454
455
|
} else {
|
|
@@ -2633,4 +2634,4 @@ export {
|
|
|
2633
2634
|
useThinkingSeconds,
|
|
2634
2635
|
ChatMessages
|
|
2635
2636
|
};
|
|
2636
|
-
//# sourceMappingURL=chunk-
|
|
2637
|
+
//# sourceMappingURL=chunk-D4HB72W2.js.map
|