@eloquentai/chat-sdk 0.30.1-dev → 0.30.2-dev
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-B2LiD2Qr.js → index-Bqvk7BQ7.js} +10 -8
- package/dist/{index-B2LiD2Qr.js.map → index-Bqvk7BQ7.js.map} +1 -1
- package/dist/{index-B3bA8EOY.js → index-wgGOr3Za.js} +2 -2
- package/dist/{index-B3bA8EOY.js.map → index-wgGOr3Za.js.map} +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
|
@@ -6,16 +6,16 @@ import Vg, { createPortal as gs } from "react-dom";
|
|
|
6
6
|
import Wg from "react-dom/client";
|
|
7
7
|
try {
|
|
8
8
|
let e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {}, t = new e.Error().stack;
|
|
9
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "
|
|
9
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "78e8b188-fa53-4eff-a06a-286cea99c872", e._sentryDebugIdIdentifier = "sentry-dbid-78e8b188-fa53-4eff-a06a-286cea99c872");
|
|
10
10
|
} catch {
|
|
11
11
|
}
|
|
12
12
|
{
|
|
13
13
|
let e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
14
|
-
e.SENTRY_RELEASE = { id: "
|
|
14
|
+
e.SENTRY_RELEASE = { id: "20cd3b45a02223169e3a9cac8ced272ff8ac8d10" };
|
|
15
15
|
}
|
|
16
16
|
if (typeof window < "u") {
|
|
17
17
|
const e = "development";
|
|
18
|
-
import("./index-
|
|
18
|
+
import("./index-wgGOr3Za.js").then((t) => {
|
|
19
19
|
t.init({
|
|
20
20
|
dsn: void 0,
|
|
21
21
|
environment: e,
|
|
@@ -22941,7 +22941,7 @@ function SC({ messageData: e }) {
|
|
|
22941
22941
|
)
|
|
22942
22942
|
] });
|
|
22943
22943
|
}
|
|
22944
|
-
const Xu = /* @__PURE__ */ new Set(), CC = "Thinking";
|
|
22944
|
+
const Xu = /* @__PURE__ */ new Set(), CC = /* @__PURE__ */ new Set(["Thinking", "Routing"]);
|
|
22945
22945
|
function Ku({
|
|
22946
22946
|
messageData: e,
|
|
22947
22947
|
nextMessage: t,
|
|
@@ -22954,12 +22954,14 @@ function Ku({
|
|
|
22954
22954
|
), h = We({
|
|
22955
22955
|
[s.botBubbleColor]: e.sender === "assistant",
|
|
22956
22956
|
[s.userBubbleColor]: e.sender === "user"
|
|
22957
|
-
}), p = e.content === "...", v =
|
|
22958
|
-
|
|
22957
|
+
}), p = e.content === "...", v = CC.has(
|
|
22958
|
+
e.content.replace(/\.+$/, "")
|
|
22959
|
+
), m = () => n && e.isThinking ? /* @__PURE__ */ De("div", { className: "flex items-center gap-2 px-1 py-1 animate-in fade-in slide-in-from-bottom-2 duration-300 ease-out", children: [
|
|
22960
|
+
!p && !v && u && /* @__PURE__ */ D(
|
|
22959
22961
|
"span",
|
|
22960
22962
|
{
|
|
22961
22963
|
className: "text-xs text-gray-400 font-medium animate-in fade-in duration-500 ease-out",
|
|
22962
|
-
children:
|
|
22964
|
+
children: u
|
|
22963
22965
|
},
|
|
22964
22966
|
u
|
|
22965
22967
|
),
|
|
@@ -30734,4 +30736,4 @@ export {
|
|
|
30734
30736
|
LN as r,
|
|
30735
30737
|
mN as u
|
|
30736
30738
|
};
|
|
30737
|
-
//# sourceMappingURL=index-
|
|
30739
|
+
//# sourceMappingURL=index-Bqvk7BQ7.js.map
|