@versini/sassysaint 5.4.13 → 5.4.14
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/chunks/{LazyApp.DNOGYuzJ.js → LazyApp.nhzP-Nbc.js} +69 -57
- package/dist/chunks/{LazyHeader.oCAx75zT.js → LazyHeader.CCjVT4z8.js} +98 -92
- package/dist/chunks/{LazyMarkdownWithExtra.F2tZ4gOI.js → LazyMarkdownWithExtra.aWPJfbF0.js} +747 -739
- package/dist/chunks/{LazyMessageAssistant.L4L_m5nw.js → LazyMessageAssistant.Bpza5zkH.js} +7 -7
- package/dist/chunks/{index.Ck3nAtox.js → index.8mgE_tU8.js} +68 -62
- package/dist/chunks/{index.CxzLMGVa.js → index.CYifYdxQ.js} +42 -36
- package/dist/components/SassySaint/SassySaint.js +1 -1
- package/dist/index.js +4 -4
- package/package.json +3 -3
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as n, jsxs as v, Fragment as O } from "react/jsx-runtime";
|
|
2
|
-
import { g as we, ACTION_RESTORE as Ne, ACTION_MESSAGE as S, ROLE_ASSISTANT as E, ACTION_RESET as ie, ACTION_MODEL as de, ACTION_ENGINE as ne, ACTION_STREAMING as se, ACTION_SORT as Ie, ACTION_SEARCH as Ee, ACTION_SET_TAGS as ce, ACTION_RESET_TAGS as le, ACTION_TOGGLE_TAG as ge, AppContext as z, TagsContext as H, un as U, L as Ce, j as Se, C as ue, isLastMessageFromRole as me, O as Re, TOOLBOX as Y, ROLE_INTERNAL as
|
|
3
|
-
import { serviceCall as he, SERVICE_TYPES as be, h as
|
|
4
|
-
import C, { useContext as R, useState as
|
|
2
|
+
import { g as we, ACTION_RESTORE as Ne, ACTION_MESSAGE as S, ROLE_ASSISTANT as E, ACTION_RESET as ie, ACTION_MODEL as de, ACTION_ENGINE as ne, ACTION_STREAMING as se, ACTION_SORT as Ie, ACTION_SEARCH as Ee, ACTION_SET_TAGS as ce, ACTION_RESET_TAGS as le, ACTION_TOGGLE_TAG as ge, AppContext as z, TagsContext as H, un as U, L as Ce, j as Se, C as ue, isLastMessageFromRole as me, O as Re, TOOLBOX as Y, ROLE_INTERNAL as j, ROLE_USER as G, ROLE_SYSTEM as Be, ROLE_HIDDEN as Ae, DEFAULT_AI_ENGINE as M, STATS_SEPARATOR as q, CLIPBOARD_TAG as X, TYPE_QUESTION as Me, SEND as Le, ERROR_MESSAGE as Oe, getMessageContaintWrapperClass as ze, MessagesContainerHeader as Ue, HistoryContext as Ve, _ as De, AppFooter as $e, LOCAL_STORAGE_PREFIX as J, LOCAL_STORAGE_SEARCH as Ge, LOCAL_STORAGE_SORT as He } from "./index.CYifYdxQ.js";
|
|
3
|
+
import { serviceCall as he, SERVICE_TYPES as be, h as je, restCall as Pe, Le as We, E as Q, f as Fe } from "./index.8mgE_tU8.js";
|
|
4
|
+
import C, { useContext as R, useState as A, useRef as B, useEffect as _, lazy as Ke, Suspense as Z, useReducer as D } from "react";
|
|
5
5
|
import d from "clsx";
|
|
6
6
|
const Ye = ({
|
|
7
7
|
className: e,
|
|
@@ -73,7 +73,7 @@ function tt() {
|
|
|
73
73
|
return $(et);
|
|
74
74
|
}
|
|
75
75
|
const rt = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), ee = { randomUUID: rt };
|
|
76
|
-
function
|
|
76
|
+
function P(e, t, r) {
|
|
77
77
|
if (ee.randomUUID && !t && !e)
|
|
78
78
|
return ee.randomUUID();
|
|
79
79
|
e = e || {};
|
|
@@ -151,7 +151,7 @@ const at = (e, t) => {
|
|
|
151
151
|
}
|
|
152
152
|
}
|
|
153
153
|
return (t == null ? void 0 : t.type) === ie ? {
|
|
154
|
-
id:
|
|
154
|
+
id: P(),
|
|
155
155
|
model: e.model,
|
|
156
156
|
engine: e.engine,
|
|
157
157
|
usage: 0,
|
|
@@ -211,7 +211,7 @@ const at = (e, t) => {
|
|
|
211
211
|
return e;
|
|
212
212
|
}
|
|
213
213
|
}, dt = () => {
|
|
214
|
-
const { dispatch: e, state: t } = R(z), { dispatch: r, state: a } = R(H), { getAccessToken: o, user: i } = U(), [g, c] =
|
|
214
|
+
const { dispatch: e, state: t } = R(z), { dispatch: r, state: a } = R(H), { getAccessToken: o, user: i } = U(), [g, c] = A({
|
|
215
215
|
loaded: !1
|
|
216
216
|
}), u = "mt-2 flex justify-center rounded-md", m = B(null), b = B(!1), h = (s) => {
|
|
217
217
|
s.preventDefault(), e({
|
|
@@ -278,19 +278,19 @@ const at = (e, t) => {
|
|
|
278
278
|
ref: m,
|
|
279
279
|
onClick: h,
|
|
280
280
|
labelRight: t != null && t.streaming ? Y.ACTION_WHILE_STREAMING.content : Y.ACTION_WHILE_NOT_STREAMING.content,
|
|
281
|
-
children: t != null && t.streaming ? /* @__PURE__ */ n(Ye, { size: "size-4" }) : /* @__PURE__ */ n(
|
|
281
|
+
children: t != null && t.streaming ? /* @__PURE__ */ n(Ye, { size: "size-4" }) : /* @__PURE__ */ n(je, { size: "size-4" })
|
|
282
282
|
}
|
|
283
283
|
) })
|
|
284
284
|
] });
|
|
285
285
|
};
|
|
286
286
|
/*!
|
|
287
|
-
@versini/ui-bubble v2.0.
|
|
287
|
+
@versini/ui-bubble v2.0.11
|
|
288
288
|
© 2024 gizmette.com
|
|
289
289
|
*/
|
|
290
290
|
try {
|
|
291
291
|
window.__VERSINI_UI_BUBBLE__ || (window.__VERSINI_UI_BUBBLE__ = {
|
|
292
|
-
version: "2.0.
|
|
293
|
-
buildTime: "12/
|
|
292
|
+
version: "2.0.11",
|
|
293
|
+
buildTime: "12/31/2024 09:02 AM EST",
|
|
294
294
|
homepage: "https://github.com/aversini/ui-components",
|
|
295
295
|
license: "MIT"
|
|
296
296
|
});
|
|
@@ -303,16 +303,16 @@ const nt = "av-bubble", te = "av-button", W = "icon", st = "button", ct = "link"
|
|
|
303
303
|
labelLeft: a,
|
|
304
304
|
align: o
|
|
305
305
|
}) => {
|
|
306
|
-
const i = "text-sm font-medium max-h-8 py-0", g = "text-base font-medium max-h-9 py-1", c = "text-lg font-medium max-h-12 py-2";
|
|
306
|
+
const i = "text-sm font-medium max-h-8 py-0 px-2", g = "text-base font-medium max-h-9 py-1 px-3", c = "text-lg font-medium max-h-12 py-2 px-4";
|
|
307
307
|
switch (e) {
|
|
308
308
|
case st:
|
|
309
|
-
return d(
|
|
309
|
+
return d({
|
|
310
310
|
[i]: t === "small",
|
|
311
311
|
[g]: t === "medium",
|
|
312
312
|
[c]: t === "large"
|
|
313
313
|
});
|
|
314
314
|
case ct:
|
|
315
|
-
return d("
|
|
315
|
+
return d("text-center", {
|
|
316
316
|
[i]: t === "small",
|
|
317
317
|
[g]: t === "medium",
|
|
318
318
|
[c]: t === "large"
|
|
@@ -323,9 +323,9 @@ const nt = "av-bubble", te = "av-button", W = "icon", st = "button", ct = "link"
|
|
|
323
323
|
"justify-start": o === "left",
|
|
324
324
|
"justify-end": o === "right",
|
|
325
325
|
"h-6 w-6 p-0": t === "small" && !(r || a),
|
|
326
|
-
"h-6 px-
|
|
326
|
+
"h-6 px-2 text-sm font-medium": t === "small" && (r || a),
|
|
327
327
|
"h-8 w-8 p-1": t === "medium" && !(r || a),
|
|
328
|
-
"h-8 px-
|
|
328
|
+
"h-8 px-3 text-base font-medium": t === "medium" && (r || a),
|
|
329
329
|
"h-12 w-12 p-2": t === "large" && !(r || a),
|
|
330
330
|
"h-12 px-4 text-lg font-medium": t === "large" && (r || a)
|
|
331
331
|
});
|
|
@@ -525,7 +525,13 @@ const nt = "av-bubble", te = "av-button", W = "icon", st = "button", ct = "link"
|
|
|
525
525
|
noTruncate: s,
|
|
526
526
|
radius: f
|
|
527
527
|
}),
|
|
528
|
-
lt({
|
|
528
|
+
lt({
|
|
529
|
+
type: e,
|
|
530
|
+
size: c,
|
|
531
|
+
labelRight: m,
|
|
532
|
+
labelLeft: b,
|
|
533
|
+
align: p
|
|
534
|
+
}),
|
|
529
535
|
ht({ mode: a, variant: l, noBorder: u }),
|
|
530
536
|
bt({ focusMode: o }),
|
|
531
537
|
ut({ mode: a, variant: l, disabled: i }),
|
|
@@ -614,13 +620,13 @@ const ye = C.forwardRef(
|
|
|
614
620
|
);
|
|
615
621
|
ye.displayName = "ButtonIcon";
|
|
616
622
|
/*!
|
|
617
|
-
@versini/ui-button v3.0
|
|
623
|
+
@versini/ui-button v3.2.0
|
|
618
624
|
© 2024 gizmette.com
|
|
619
625
|
*/
|
|
620
626
|
try {
|
|
621
627
|
window.__VERSINI_UI_BUTTON__ || (window.__VERSINI_UI_BUTTON__ = {
|
|
622
|
-
version: "3.0
|
|
623
|
-
buildTime: "12/
|
|
628
|
+
version: "3.2.0",
|
|
629
|
+
buildTime: "12/31/2024 09:01 AM EST",
|
|
624
630
|
homepage: "https://github.com/aversini/ui-components",
|
|
625
631
|
license: "MIT"
|
|
626
632
|
});
|
|
@@ -735,13 +741,13 @@ const fe = ({
|
|
|
735
741
|
] });
|
|
736
742
|
};
|
|
737
743
|
/*!
|
|
738
|
-
@versini/ui-svgicon v3.0.
|
|
744
|
+
@versini/ui-svgicon v3.0.2
|
|
739
745
|
© 2024 gizmette.com
|
|
740
746
|
*/
|
|
741
747
|
try {
|
|
742
748
|
window.__VERSINI_UI_SVGICON__ || (window.__VERSINI_UI_SVGICON__ = {
|
|
743
|
-
version: "3.0.
|
|
744
|
-
buildTime: "12/
|
|
749
|
+
version: "3.0.2",
|
|
750
|
+
buildTime: "12/31/2024 09:01 AM EST",
|
|
745
751
|
homepage: "https://github.com/aversini/ui-components",
|
|
746
752
|
license: "MIT"
|
|
747
753
|
});
|
|
@@ -792,13 +798,13 @@ const ft = ({
|
|
|
792
798
|
}
|
|
793
799
|
);
|
|
794
800
|
/*!
|
|
795
|
-
@versini/ui-icons v3.0.
|
|
801
|
+
@versini/ui-icons v3.0.2
|
|
796
802
|
© 2024 gizmette.com
|
|
797
803
|
*/
|
|
798
804
|
try {
|
|
799
805
|
window.__VERSINI_UI_ICONS__ || (window.__VERSINI_UI_ICONS__ = {
|
|
800
|
-
version: "3.0.
|
|
801
|
-
buildTime: "12/
|
|
806
|
+
version: "3.0.2",
|
|
807
|
+
buildTime: "12/31/2024 09:01 AM EST",
|
|
802
808
|
homepage: "https://github.com/aversini/ui-components",
|
|
803
809
|
license: "MIT"
|
|
804
810
|
});
|
|
@@ -852,7 +858,7 @@ const kt = () => "p-4 max-w-xs sm:max-w-md md:max-w-2xl", xt = ({ kind: e }) =>
|
|
|
852
858
|
copyToClipboardFocusMode: g = "system",
|
|
853
859
|
copyToClipboardMode: c = "system"
|
|
854
860
|
}) => {
|
|
855
|
-
const [u, m] =
|
|
861
|
+
const [u, m] = A(!1), b = wt({ kind: t, className: r }), h = !!i && (typeof i == "function" || typeof i == "string" || typeof e == "string"), l = () => {
|
|
856
862
|
m(!0), typeof i == "function" ? i(e) : typeof i == "string" ? navigator.clipboard.writeText(i) : typeof e == "string" && navigator.clipboard.writeText(e);
|
|
857
863
|
};
|
|
858
864
|
return _(() => {
|
|
@@ -894,16 +900,16 @@ const kt = () => "p-4 max-w-xs sm:max-w-md md:max-w-2xl", xt = ({ kind: e }) =>
|
|
|
894
900
|
labelLeft: a,
|
|
895
901
|
align: o
|
|
896
902
|
}) => {
|
|
897
|
-
const i = "text-sm font-medium max-h-8 py-0", g = "text-base font-medium max-h-9 py-1", c = "text-lg font-medium max-h-12 py-2";
|
|
903
|
+
const i = "text-sm font-medium max-h-8 py-0 px-2", g = "text-base font-medium max-h-9 py-1 px-3", c = "text-lg font-medium max-h-12 py-2 px-4";
|
|
898
904
|
switch (e) {
|
|
899
905
|
case ke:
|
|
900
|
-
return d(
|
|
906
|
+
return d({
|
|
901
907
|
[i]: t === "small",
|
|
902
908
|
[g]: t === "medium",
|
|
903
909
|
[c]: t === "large"
|
|
904
910
|
});
|
|
905
911
|
case It:
|
|
906
|
-
return d("
|
|
912
|
+
return d("text-center", {
|
|
907
913
|
[i]: t === "small",
|
|
908
914
|
[g]: t === "medium",
|
|
909
915
|
[c]: t === "large"
|
|
@@ -914,9 +920,9 @@ const kt = () => "p-4 max-w-xs sm:max-w-md md:max-w-2xl", xt = ({ kind: e }) =>
|
|
|
914
920
|
"justify-start": o === "left",
|
|
915
921
|
"justify-end": o === "right",
|
|
916
922
|
"h-6 w-6 p-0": t === "small" && !(r || a),
|
|
917
|
-
"h-6 px-
|
|
923
|
+
"h-6 px-2 text-sm font-medium": t === "small" && (r || a),
|
|
918
924
|
"h-8 w-8 p-1": t === "medium" && !(r || a),
|
|
919
|
-
"h-8 px-
|
|
925
|
+
"h-8 px-3 text-base font-medium": t === "medium" && (r || a),
|
|
920
926
|
"h-12 w-12 p-2": t === "large" && !(r || a),
|
|
921
927
|
"h-12 px-4 text-lg font-medium": t === "large" && (r || a)
|
|
922
928
|
});
|
|
@@ -1083,7 +1089,7 @@ const kt = () => "p-4 max-w-xs sm:max-w-md md:max-w-2xl", xt = ({ kind: e }) =>
|
|
|
1083
1089
|
"border-border-selected-dark dark:border-border-selected-medium": e === "system",
|
|
1084
1090
|
"border-border-selected-medium dark:border-border-selected-dark": e === "alt-system"
|
|
1085
1091
|
});
|
|
1086
|
-
},
|
|
1092
|
+
}, At = ({
|
|
1087
1093
|
focusMode: e
|
|
1088
1094
|
}) => d("focus:outline", "focus:outline-2", "focus:outline-offset-2", {
|
|
1089
1095
|
"focus:outline-focus-dark": e === "dark",
|
|
@@ -1116,9 +1122,15 @@ const kt = () => "p-4 max-w-xs sm:max-w-md md:max-w-2xl", xt = ({ kind: e }) =>
|
|
|
1116
1122
|
noTruncate: s,
|
|
1117
1123
|
radius: f
|
|
1118
1124
|
}),
|
|
1119
|
-
Et({
|
|
1125
|
+
Et({
|
|
1126
|
+
type: e,
|
|
1127
|
+
size: c,
|
|
1128
|
+
labelRight: m,
|
|
1129
|
+
labelLeft: b,
|
|
1130
|
+
align: p
|
|
1131
|
+
}),
|
|
1120
1132
|
Bt({ mode: a, variant: l, noBorder: u }),
|
|
1121
|
-
|
|
1133
|
+
At({ focusMode: o }),
|
|
1122
1134
|
St({ mode: a, variant: l, disabled: i }),
|
|
1123
1135
|
Rt({ mode: a, variant: l, disabled: i }),
|
|
1124
1136
|
{
|
|
@@ -1126,7 +1138,7 @@ const kt = () => "p-4 max-w-xs sm:max-w-md md:max-w-2xl", xt = ({ kind: e }) =>
|
|
|
1126
1138
|
"disabled:cursor-not-allowed disabled:opacity-50": i
|
|
1127
1139
|
},
|
|
1128
1140
|
t
|
|
1129
|
-
)),
|
|
1141
|
+
)), Mt = (e, t, r) => {
|
|
1130
1142
|
var a;
|
|
1131
1143
|
!t && (!document.activeElement || document.activeElement !== e.currentTarget) && typeof ((a = e == null ? void 0 : e.currentTarget) == null ? void 0 : a.focus) == "function" && e.currentTarget.focus(), typeof r == "function" && r(e);
|
|
1132
1144
|
}, K = C.forwardRef((e, t) => {
|
|
@@ -1136,7 +1148,7 @@ const kt = () => "p-4 max-w-xs sm:max-w-md md:max-w-2xl", xt = ({ kind: e }) =>
|
|
|
1136
1148
|
{
|
|
1137
1149
|
ref: t,
|
|
1138
1150
|
onClick: (i) => {
|
|
1139
|
-
|
|
1151
|
+
Mt(i, a, r);
|
|
1140
1152
|
},
|
|
1141
1153
|
...o
|
|
1142
1154
|
}
|
|
@@ -1187,13 +1199,13 @@ const Te = C.forwardRef(
|
|
|
1187
1199
|
);
|
|
1188
1200
|
Te.displayName = "Button";
|
|
1189
1201
|
/*!
|
|
1190
|
-
@versini/ui-button v3.0
|
|
1202
|
+
@versini/ui-button v3.2.0
|
|
1191
1203
|
© 2024 gizmette.com
|
|
1192
1204
|
*/
|
|
1193
1205
|
try {
|
|
1194
1206
|
window.__VERSINI_UI_BUTTON__ || (window.__VERSINI_UI_BUTTON__ = {
|
|
1195
|
-
version: "3.0
|
|
1196
|
-
buildTime: "12/
|
|
1207
|
+
version: "3.2.0",
|
|
1208
|
+
buildTime: "12/31/2024 09:01 AM EST",
|
|
1197
1209
|
homepage: "https://github.com/aversini/ui-components",
|
|
1198
1210
|
license: "MIT"
|
|
1199
1211
|
});
|
|
@@ -1296,7 +1308,7 @@ const Ot = 200, zt = ({
|
|
|
1296
1308
|
mode: r = "system",
|
|
1297
1309
|
focusMode: a = "system"
|
|
1298
1310
|
}) => {
|
|
1299
|
-
const [o, i] =
|
|
1311
|
+
const [o, i] = A(!1);
|
|
1300
1312
|
if (typeof e != "string")
|
|
1301
1313
|
return e;
|
|
1302
1314
|
const { string: g, isTruncated: c } = zt({
|
|
@@ -1321,13 +1333,13 @@ const Ot = 200, zt = ({
|
|
|
1321
1333
|
] });
|
|
1322
1334
|
};
|
|
1323
1335
|
/*!
|
|
1324
|
-
@versini/ui-truncate v2.0.
|
|
1336
|
+
@versini/ui-truncate v2.0.8
|
|
1325
1337
|
© 2024 gizmette.com
|
|
1326
1338
|
*/
|
|
1327
1339
|
try {
|
|
1328
1340
|
window.__VERSINI_UI_TRUNCATE__ || (window.__VERSINI_UI_TRUNCATE__ = {
|
|
1329
|
-
version: "2.0.
|
|
1330
|
-
buildTime: "12/
|
|
1341
|
+
version: "2.0.8",
|
|
1342
|
+
buildTime: "12/31/2024 09:01 AM EST",
|
|
1331
1343
|
homepage: "https://github.com/aversini/ui-components",
|
|
1332
1344
|
license: "MIT"
|
|
1333
1345
|
});
|
|
@@ -1336,14 +1348,14 @@ try {
|
|
|
1336
1348
|
const ae = Ke(
|
|
1337
1349
|
() => import(
|
|
1338
1350
|
/* webpackChunkName: "LazyMessageAssistant" */
|
|
1339
|
-
"./LazyMessageAssistant.
|
|
1351
|
+
"./LazyMessageAssistant.Bpza5zkH.js"
|
|
1340
1352
|
).then((e) => e.LazyMessageAssistant)
|
|
1341
1353
|
), Vt = () => {
|
|
1342
1354
|
const { state: e } = R(z);
|
|
1343
1355
|
return /* @__PURE__ */ v(O, { children: [
|
|
1344
1356
|
e && e.messages.length > 0 && e.messages.map((t, r) => {
|
|
1345
1357
|
const { role: a, content: o, name: i, processingTime: g } = t.message;
|
|
1346
|
-
return (a === E || a ===
|
|
1358
|
+
return (a === E || a === j) && o ? /* @__PURE__ */ n(Z, { fallback: /* @__PURE__ */ n("span", {}), children: /* @__PURE__ */ n(
|
|
1347
1359
|
ae,
|
|
1348
1360
|
{
|
|
1349
1361
|
name: i,
|
|
@@ -1375,13 +1387,13 @@ const ae = Ke(
|
|
|
1375
1387
|
type: S,
|
|
1376
1388
|
payload: {
|
|
1377
1389
|
message: {
|
|
1378
|
-
role:
|
|
1390
|
+
role: j,
|
|
1379
1391
|
content: Oe
|
|
1380
1392
|
}
|
|
1381
1393
|
}
|
|
1382
1394
|
});
|
|
1383
1395
|
}, Dt = () => {
|
|
1384
|
-
const { state: e, dispatch: t } = R(z), { state: r, dispatch: a } = R(H), [o, i] =
|
|
1396
|
+
const { state: e, dispatch: t } = R(z), { state: r, dispatch: a } = R(H), [o, i] = A(""), { getAccessToken: g, user: c } = U(), u = B(null), m = B(
|
|
1385
1397
|
null
|
|
1386
1398
|
);
|
|
1387
1399
|
_(() => {
|
|
@@ -1392,21 +1404,21 @@ const ae = Ke(
|
|
|
1392
1404
|
return;
|
|
1393
1405
|
}
|
|
1394
1406
|
const h = e.messages[e.messages.length - 1];
|
|
1395
|
-
if (!(e.messages.length === 0 || h.message.role === E || h.message.role === Be || h.message.role ===
|
|
1407
|
+
if (!(e.messages.length === 0 || h.message.role === E || h.message.role === Be || h.message.role === j || h.message.role === Ae))
|
|
1396
1408
|
try {
|
|
1397
|
-
const s = await
|
|
1409
|
+
const s = await Pe({
|
|
1398
1410
|
accessToken: await g(),
|
|
1399
1411
|
name: "generate",
|
|
1400
1412
|
data: {
|
|
1401
1413
|
messages: e.messages,
|
|
1402
|
-
model: e.engine ||
|
|
1414
|
+
model: e.engine || M,
|
|
1403
1415
|
user: (c == null ? void 0 : c.username) || "",
|
|
1404
1416
|
id: e.id,
|
|
1405
1417
|
usage: e.usage
|
|
1406
1418
|
}
|
|
1407
1419
|
});
|
|
1408
1420
|
if (s && s.ok) {
|
|
1409
|
-
const p =
|
|
1421
|
+
const p = P();
|
|
1410
1422
|
m.current = s.body.getReader();
|
|
1411
1423
|
const f = new TextDecoder();
|
|
1412
1424
|
for (; ; ) {
|
|
@@ -1488,7 +1500,7 @@ const ae = Ke(
|
|
|
1488
1500
|
focusMode: "light",
|
|
1489
1501
|
ref: u,
|
|
1490
1502
|
name: "chat-input",
|
|
1491
|
-
label:
|
|
1503
|
+
label: Me,
|
|
1492
1504
|
helperText: "Press ENTER to add a new line",
|
|
1493
1505
|
helperTextOnFocus: !0,
|
|
1494
1506
|
required: !0,
|
|
@@ -1527,9 +1539,9 @@ function _e({ isComponent: e = !1 }) {
|
|
|
1527
1539
|
key: J + He,
|
|
1528
1540
|
initialValue: Fe.ASC
|
|
1529
1541
|
}), [g, c] = D(at, {
|
|
1530
|
-
id:
|
|
1531
|
-
model:
|
|
1532
|
-
engine:
|
|
1542
|
+
id: P(),
|
|
1543
|
+
model: M,
|
|
1544
|
+
engine: M,
|
|
1533
1545
|
usage: 0,
|
|
1534
1546
|
messages: [],
|
|
1535
1547
|
tags: [],
|
|
@@ -1541,11 +1553,11 @@ function _e({ isComponent: e = !1 }) {
|
|
|
1541
1553
|
}), [b, h] = D(it, {
|
|
1542
1554
|
tag: "",
|
|
1543
1555
|
tags: []
|
|
1544
|
-
}), [l, s] =
|
|
1556
|
+
}), [l, s] = A({
|
|
1545
1557
|
version: "",
|
|
1546
1558
|
models: [],
|
|
1547
1559
|
plugins: [],
|
|
1548
|
-
engine:
|
|
1560
|
+
engine: M,
|
|
1549
1561
|
engines: []
|
|
1550
1562
|
});
|
|
1551
1563
|
return _(() => {
|