teodor-new-chat-ui 4.3.616 → 4.3.618

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
@@ -3709,7 +3709,12 @@ function Hg(e, t) {
3709
3709
  const l = e[c];
3710
3710
  if (l.role === "tool") {
3711
3711
  const f = ws(l).toolCallId;
3712
- if (f && o.has(f)) {
3712
+ if (console.log("[buildToolExecutionTimeline] Tool message at index", c, {
3713
+ toolCallId: f,
3714
+ name: l.name,
3715
+ hasMatch: o.has(f || ""),
3716
+ toolCallMapKeys: Array.from(o.keys())
3717
+ }), f && o.has(f)) {
3713
3718
  const h = Array.isArray(l.content) ? l.content : Array.isArray(l.parts) ? l.parts : [], p = uu(h.filter((m) => m.type === "text"));
3714
3719
  i.set(f, {
3715
3720
  content: p || `Finished ${l.name || "tool"}`,