@meetsmore-oss/use-ai-client 1.11.0 → 1.12.0
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/bundled.js +5 -0
- package/dist/bundled.js.map +1 -1
- package/dist/index.d.ts +7 -0
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/bundled.js
CHANGED
|
@@ -23799,6 +23799,11 @@ var UseAIClient = class {
|
|
|
23799
23799
|
if (e.subtype === "message" && this._currentReasoningBlocks.length > 0) {
|
|
23800
23800
|
const lastBlock = this._currentReasoningBlocks[this._currentReasoningBlocks.length - 1];
|
|
23801
23801
|
lastBlock.encryptedValue = e.encryptedValue;
|
|
23802
|
+
} else if (e.subtype === "tool-call" && e.entityId) {
|
|
23803
|
+
const tc = this._currentAssistantToolCalls.find((tc2) => tc2.id === e.entityId);
|
|
23804
|
+
if (tc) {
|
|
23805
|
+
tc.encryptedValue = e.encryptedValue;
|
|
23806
|
+
}
|
|
23802
23807
|
}
|
|
23803
23808
|
} else if (event.type === EventType.TOOL_CALL_RESULT) {
|
|
23804
23809
|
const e = event;
|