@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.
@@ -3,7 +3,7 @@ import {
3
3
  ChatMessages,
4
4
  ModelPicker,
5
5
  ProviderLogo
6
- } from "../chunk-4M6NUHKU.js";
6
+ } from "../chunk-D4HB72W2.js";
7
7
  import "../chunk-65P3HJY3.js";
8
8
  import "../chunk-5SV5PSU7.js";
9
9
  import "../chunk-2QI7XV2T.js";
@@ -448,7 +448,8 @@ function dispatchChatStreamLine(line, cb) {
448
448
  break;
449
449
  }
450
450
  case "error": {
451
- const message = String(evt.details ?? evt.error ?? "Unknown stream error");
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-4M6NUHKU.js.map
2637
+ //# sourceMappingURL=chunk-D4HB72W2.js.map