teodor-new-chat-ui 4.3.617 → 4.3.619
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 +14 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -3708,8 +3708,21 @@ function Hg(e, t) {
|
|
|
3708
3708
|
for (let c = r + 1; c < e.length; c++) {
|
|
3709
3709
|
const l = e[c];
|
|
3710
3710
|
if (l.role === "tool") {
|
|
3711
|
+
console.log("[buildToolExecutionTimeline] Raw tool message:", {
|
|
3712
|
+
index: c,
|
|
3713
|
+
id: l.id,
|
|
3714
|
+
name: l.name,
|
|
3715
|
+
hasToolCallId: "toolCallId" in l,
|
|
3716
|
+
toolCallIdValue: l.toolCallId,
|
|
3717
|
+
allKeys: Object.keys(l)
|
|
3718
|
+
});
|
|
3711
3719
|
const f = ws(l).toolCallId;
|
|
3712
|
-
if (
|
|
3720
|
+
if (console.log("[buildToolExecutionTimeline] Tool message at index", c, {
|
|
3721
|
+
toolCallId: f,
|
|
3722
|
+
name: l.name,
|
|
3723
|
+
hasMatch: o.has(f || ""),
|
|
3724
|
+
toolCallMapKeys: Array.from(o.keys())
|
|
3725
|
+
}), f && o.has(f)) {
|
|
3713
3726
|
const h = Array.isArray(l.content) ? l.content : Array.isArray(l.parts) ? l.parts : [], p = uu(h.filter((m) => m.type === "text"));
|
|
3714
3727
|
i.set(f, {
|
|
3715
3728
|
content: p || `Finished ${l.name || "tool"}`,
|