@rool-dev/extension 0.3.7-dev.2ccb343 → 0.3.7-dev.8d688f9
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/dev/host-shell.js
CHANGED
|
@@ -7900,13 +7900,13 @@ var RoolChannel = class extends EventEmitter {
|
|
|
7900
7900
|
if (attachments?.length) attachmentUrls = await Promise.all(attachments.map((file) => this.mediaClient.upload(this._id, file)));
|
|
7901
7901
|
const parentInteractionId = explicitParent !== void 0 ? explicitParent : this._getActiveLeafImpl(conversationId) ?? null;
|
|
7902
7902
|
const interactionId = generateEntityId();
|
|
7903
|
+
this._activeLeaves.set(conversationId, interactionId);
|
|
7903
7904
|
const result = await this.graphqlClient.prompt(this._id, prompt, this._channelId, conversationId, {
|
|
7904
7905
|
...rest,
|
|
7905
7906
|
attachmentUrls,
|
|
7906
7907
|
interactionId,
|
|
7907
7908
|
parentInteractionId
|
|
7908
7909
|
});
|
|
7909
|
-
this._activeLeaves.set(conversationId, interactionId);
|
|
7910
7910
|
const objects = [];
|
|
7911
7911
|
const missing = [];
|
|
7912
7912
|
for (const id of result.modifiedObjectIds) {
|