teodor-new-chat-ui 4.3.614 → 4.3.615
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 +5 -9
- 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
|
@@ -3619,15 +3619,11 @@ function uu(e) {
|
|
|
3619
3619
|
}
|
|
3620
3620
|
function ws(e) {
|
|
3621
3621
|
const t = e.toolCallId ?? e.tool_call_id;
|
|
3622
|
-
|
|
3623
|
-
|
|
3624
|
-
|
|
3625
|
-
|
|
3626
|
-
|
|
3627
|
-
tool_call_id: e.tool_call_id,
|
|
3628
|
-
allKeys: Object.keys(e),
|
|
3629
|
-
message: e
|
|
3630
|
-
}), {
|
|
3622
|
+
if (e.role === "tool" && !t) {
|
|
3623
|
+
const n = Object.keys(e);
|
|
3624
|
+
console.log("[extractToolMeta] ALL KEYS:", n.join(", ")), console.log("[extractToolMeta] Full message:", JSON.stringify(e, null, 2));
|
|
3625
|
+
}
|
|
3626
|
+
return {
|
|
3631
3627
|
toolCallId: t ?? void 0,
|
|
3632
3628
|
name: e.name ?? void 0
|
|
3633
3629
|
};
|