teodor-new-chat-ui 4.3.620 → 4.3.621

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