teodor-new-chat-ui 4.3.582 → 4.3.584

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/index.esm.js CHANGED
@@ -3075,7 +3075,7 @@ function iw(e) {
3075
3075
  return !!e && typeof e == "object" && "data" in e;
3076
3076
  }
3077
3077
  function lw(e = {}) {
3078
- const t = e.baseUrl || "", n = e.streamPath ?? "/runs/stream", [r, o] = de(e.token ?? null), s = Ie(e.headers ?? {}), a = e.credentials ?? "include", [i, c] = de(!1), [l, d] = de(null), [f, m] = de(""), [p, v] = de(null), [g, x] = de(0), [w, b] = de(!1), [S, k] = de(null), [T, y] = de({}), C = Ie(null), A = Ie(!0), I = Ie(0), $ = Ie(null), O = Ie(null), U = Ie(null), G = Ie(null), N = Ie({
3078
+ const t = e.baseUrl || "", n = e.streamPath ?? "/stream", [r, o] = de(e.token ?? null), s = Ie(e.headers ?? {}), a = e.credentials ?? "include", [i, c] = de(!1), [l, d] = de(null), [f, m] = de(""), [p, v] = de(null), [g, x] = de(0), [w, b] = de(!1), [S, k] = de(null), [T, y] = de({}), C = Ie(null), A = Ie(!0), I = Ie(0), $ = Ie(null), O = Ie(null), U = Ie(null), G = Ie(null), N = Ie({
3079
3079
  messageId: null,
3080
3080
  lastSeq: null,
3081
3081
  lastText: ""
@@ -4761,7 +4761,7 @@ function Bw({
4761
4761
  if (P !== -1) {
4762
4762
  if (d) {
4763
4763
  const R = [...L];
4764
- R[P] = f, L = R;
4764
+ R[P] = { ...R[P], ...f }, L = R;
4765
4765
  }
4766
4766
  } else {
4767
4767
  const R = L[L.length - 1];