@overmap-ai/core 1.0.53-add-agent-conversations.18 → 1.0.53-add-agent-conversations.19
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/overmap-core.js
CHANGED
|
@@ -8439,12 +8439,11 @@ class AgentService extends BaseApiService {
|
|
|
8439
8439
|
tiptap_content: [...conversation.tiptap_content || [], response.response]
|
|
8440
8440
|
})
|
|
8441
8441
|
);
|
|
8442
|
-
return response.response;
|
|
8443
8442
|
}
|
|
8444
8443
|
throw new Error("Unexpected response from agent");
|
|
8445
8444
|
});
|
|
8446
8445
|
}
|
|
8447
|
-
async
|
|
8446
|
+
async fetchDetails(conversationId) {
|
|
8448
8447
|
return this.enqueueRequest({
|
|
8449
8448
|
description: "Get agent conversation",
|
|
8450
8449
|
method: HttpMethod.GET,
|
|
@@ -8453,7 +8452,6 @@ class AgentService extends BaseApiService {
|
|
|
8453
8452
|
blocks: ["conversation"]
|
|
8454
8453
|
}).then((response) => {
|
|
8455
8454
|
this.client.store.dispatch(setConversation(response));
|
|
8456
|
-
return response;
|
|
8457
8455
|
});
|
|
8458
8456
|
}
|
|
8459
8457
|
async rate(responseId, rating) {
|