@tangle-network/agent-app 0.46.48 → 0.46.50

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.
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  MAX_RECOMMENDED_MODELS,
3
3
  sortModelsByFreshness
4
- } from "./chunk-3GJQZSZK.js";
4
+ } from "./chunk-OU3VTK3I.js";
5
5
 
6
6
  // src/web-react/provider-logo.tsx
7
7
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -547,4 +547,4 @@ export {
547
547
  EffortMeter,
548
548
  EffortPicker
549
549
  };
550
- //# sourceMappingURL=chunk-CMSPRJC6.js.map
550
+ //# sourceMappingURL=chunk-E5HZ4JPA.js.map
@@ -2,7 +2,7 @@ import {
2
2
  OVERLAY_SHADOW,
3
3
  PopoverSurface,
4
4
  usePopover
5
- } from "./chunk-CMSPRJC6.js";
5
+ } from "./chunk-E5HZ4JPA.js";
6
6
  import {
7
7
  UNTITLED_SESSION_LABEL,
8
8
  mergeSessionPages,
@@ -812,4 +812,4 @@ export {
812
812
  formatSessionTimestamp,
813
813
  SessionHistoryPanel
814
814
  };
815
- //# sourceMappingURL=chunk-7EB4KA4H.js.map
815
+ //# sourceMappingURL=chunk-J35PLM4G.js.map
@@ -23,7 +23,7 @@ import {
23
23
  PopoverSurface,
24
24
  usePending,
25
25
  usePopover
26
- } from "./chunk-CMSPRJC6.js";
26
+ } from "./chunk-E5HZ4JPA.js";
27
27
  import {
28
28
  AsyncView
29
29
  } from "./chunk-3UBAO3N5.js";
@@ -1396,7 +1396,7 @@ async function streamChatTurn(opts) {
1396
1396
  const err = await res.json().catch(() => ({ error: `HTTP ${res.status}` }));
1397
1397
  throw new Error(err.error ?? `HTTP ${res.status}`);
1398
1398
  }
1399
- let turnId = null;
1399
+ let turnId = res.headers.get("x-turn-id")?.trim() || null;
1400
1400
  const cb = {
1401
1401
  ...opts.callbacks,
1402
1402
  onTurnId: (id) => {
@@ -5959,4 +5959,4 @@ export {
5959
5959
  useThinkingSeconds,
5960
5960
  ChatMessages
5961
5961
  };
5962
- //# sourceMappingURL=chunk-PTVDNCN7.js.map
5962
+ //# sourceMappingURL=chunk-NOME5ZPG.js.map